evert@gentoolinux ~/C++/allegro $ ./compile.sh
test.cpp:261:2: warning: no newline at end of file
units.cpp:14:2: warning: no newline at end of file
units.cpp:6: error: new types may not be defined in a return type
units.cpp:6: note: (perhaps a semicolon is missing after the definition of 'unit')
units.cpp:6: error: two or more data types in declaration of 'draw'
units.cpp:6: error: prototype for 'unit unit::draw()' does not match any in class 'unit'
units.h:15: error: candidate is: void unit::draw()
units.cpp:6: error: 'unit unit::draw()' cannot be overloaded
units.h:15: error: with 'void unit::draw()'
units.cpp: In member function 'unit unit::draw()':
units.cpp:8: error: 'buffer' was not declared in this scope
/usr/local/include/allegro/datafile.h: In member function 'void unit::assign_bitmap()':
/usr/local/include/allegro/datafile.h:81: error: too few arguments to function 'BITMAP* load_bitmap(const char*, RGB*)'
units.cpp:13: error: at this point in file