ScummVM no longer compiles on my Debian box
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
With the addition of the endian.h file in the latest CVS snapshot, ScummVM no longer compiles on my Debian box. Apparently this file interfers with one of the system headers, i.e. instead of the system header file it includes ours.
I can almost fix this by adding -I- to INCLUDES in our Makefile. A lot of our files break since they assume they assume that #include "file" will look in the current directory, and with -I- that's no longer true. This is fixable.
Unfortunately it also breaks FLAC and Vorbis. Possibly other libraries as well, but that's where I gave up.
Another way which *should* work - I haven't tried - would be to not include our 'common' directory in the include path. That, too, will break a lot of our files - every file that includes "stdafx.h" would have to be changed to include "common/stdafx.h" instead for instance - but, again, this is fixable.
Ticket imported from: #1226522. Ticket imported from: bugs/2074.