[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
I don't have time to look into this in detail at the moment, but after
current svn things appear to be broken for me. If I run "make" I get:
eglebbk@xxxxxxxxxx>make
Building C object CMakeFiles/allegro.dir/src/bitmap_new.c.o
In file included from /Users/eglebbk/Program/Allegro5/4.9/include/
allegro5/allegro.h:52,
from /Users/eglebbk/Program/Allegro5/4.9/include/
allegro5/allegro5.h:4,
from /Users/eglebbk/Program/Allegro5/4.9/src/
bitmap_new.c:23:
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:30: error:
syntax error before ‘off_t’
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:30:
warning: no semicolon at end of struct or union
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:31:
warning: type defaults to ‘int’ in declaration of
‘ALLEGRO_FILE_INTERFACE’
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:31:
warning: data definition has no type or storage class
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:36:
warning: type defaults to ‘int’ in declaration of
‘ALLEGRO_FILE_INTERFACE’
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:36:
warning: no semicolon at end of struct or union
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:36: error:
syntax error before ‘*’ token
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:91: error:
syntax error before ‘*’ token
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:91:
warning: type defaults to ‘int’ in declaration of
‘al_get_new_file_interface’
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:91:
warning: data definition has no type or storage class
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:92:
warning: type defaults to ‘int’ in declaration of
‘ALLEGRO_FILE_INTERFACE’
/Users/eglebbk/Program/Allegro5/4.9/include/allegro5/file.h:92: error:
syntax error before ‘*’ token
make[2]: *** [CMakeFiles/allegro.dir/src/bitmap_new.c.o] Error 1
make[1]: *** [CMakeFiles/allegro.dir/all] Error 2
make: *** [all] Error 2
eglebbk@xxxxxxxxxx>
This seems to have something to do with recent changes to the file API
and it may be worthwhile to have a look at the SVN history, since I
think I had a similar problem before (which either Thomas or I fixed
at the time).
I also noticed that a bug that I thought had been fixed is still
present: if I run "make clean", the example data directory (and I
think a few other files) are also removed. I need to restore them from
SVN. This is using an out-of-source build, if that's any help.
Evert