diff options
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | Makefile.legacy | 7 | ||||
-rwxr-xr-x | mkincs.sh | 5 | ||||
-rw-r--r-- | src/queue.cpp | 2 | ||||
-rw-r--r-- | src/queue.h | 2 | ||||
-rw-r--r-- | src/tests/atom.cpp | 2 | ||||
-rw-r--r-- | src/unit/entities/unit | 9 |
7 files changed, 26 insertions, 8 deletions
@@ -1,3 +1,10 @@ | |||
1 | # | ||
2 | # Copyright (C) 2007 Xagasoft, All rights reserved. | ||
3 | # | ||
4 | # This file is part of the libbu++ library and is released under the | ||
5 | # terms of the license contained in the file LICENSE. | ||
6 | # | ||
7 | |||
1 | .PHONY: build | 8 | .PHONY: build |
2 | 9 | ||
3 | build: | 10 | build: |
diff --git a/Makefile.legacy b/Makefile.legacy index 0afb4a0..02c233e 100644 --- a/Makefile.legacy +++ b/Makefile.legacy | |||
@@ -1,3 +1,10 @@ | |||
1 | # | ||
2 | # Copyright (C) 2007 Xagasoft, All rights reserved. | ||
3 | # | ||
4 | # This file is part of the libbu++ library and is released under the | ||
5 | # terms of the license contained in the file LICENSE. | ||
6 | # | ||
7 | |||
1 | OBJS:=$(patsubst %.cpp,%.o,$(wildcard src/*.cpp)) | 8 | OBJS:=$(patsubst %.cpp,%.o,$(wildcard src/*.cpp)) |
2 | USRCS:=$(wildcard src/unit/*.cpp) | 9 | USRCS:=$(wildcard src/unit/*.cpp) |
3 | UOBJS:=$(patsubst %.cpp,%.o,$(USRCS)) | 10 | UOBJS:=$(patsubst %.cpp,%.o,$(USRCS)) |
diff --git a/mkincs.sh b/mkincs.sh deleted file mode 100755 index 6f72f89..0000000 --- a/mkincs.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | cd src/bu | ||
4 | rm * | ||
5 | for i in ../*.h; do ln -s $i; done | ||
diff --git a/src/queue.cpp b/src/queue.cpp index 2e4c684..c7aef2e 100644 --- a/src/queue.cpp +++ b/src/queue.cpp | |||
@@ -5,4 +5,4 @@ | |||
5 | * terms of the license contained in the file LICENSE. | 5 | * terms of the license contained in the file LICENSE. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include "queue.h" | 8 | #include "bu/queue.h" |
diff --git a/src/queue.h b/src/queue.h index c555a8a..0fab474 100644 --- a/src/queue.h +++ b/src/queue.h | |||
@@ -8,6 +8,8 @@ | |||
8 | #ifndef BU_QUEUE_H | 8 | #ifndef BU_QUEUE_H |
9 | #define BU_QUEUE_H | 9 | #define BU_QUEUE_H |
10 | 10 | ||
11 | #include <memory> | ||
12 | |||
11 | namespace Bu | 13 | namespace Bu |
12 | { | 14 | { |
13 | template<typename value, typename valuealloc = std::allocator<value> > | 15 | template<typename value, typename valuealloc = std::allocator<value> > |
diff --git a/src/tests/atom.cpp b/src/tests/atom.cpp index cd5c373..7b8228c 100644 --- a/src/tests/atom.cpp +++ b/src/tests/atom.cpp | |||
@@ -16,7 +16,7 @@ typedef struct bob | |||
16 | int main() | 16 | int main() |
17 | { | 17 | { |
18 | Bu::Atom<int> aInt; | 18 | Bu::Atom<int> aInt; |
19 | Bu::Atom<char *> aStr; | 19 | Bu::Atom<const char *> aStr; |
20 | Bu::Atom<bob> aBob; | 20 | Bu::Atom<bob> aBob; |
21 | 21 | ||
22 | aBob = bob(); | 22 | aBob = bob(); |
diff --git a/src/unit/entities/unit b/src/unit/entities/unit index 28db45f..ab0eed2 100644 --- a/src/unit/entities/unit +++ b/src/unit/entities/unit | |||
@@ -4,7 +4,14 @@ | |||
4 | <file | 4 | <file |
5 | name="source" | 5 | name="source" |
6 | filename="{=name:%tolower}.cpp" | 6 | filename="{=name:%tolower}.cpp" |
7 | >#include "bu/unitsuite.h" | 7 | >/* |
8 | * Copyright (C) 2007 Xagasoft, All rights reserved. | ||
9 | * | ||
10 | * This file is part of the libbu++ library and is released under the | ||
11 | * terms of the license contained in the file LICENSE. | ||
12 | */ | ||
13 | |||
14 | #include "bu/unitsuite.h" | ||
8 | 15 | ||
9 | class Unit : public Bu::UnitSuite | 16 | class Unit : public Bu::UnitSuite |
10 | { | 17 | { |