Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
When trying to compile a program that uses DevIL, it spits out several pages of this. The problem concerns Allegro. It goes away if you compile DevIL without Allegro support. Since Allegro support is optional anyway, I've modified the ebuild to make use of the allegro USE flag. As for actually solving the problem itself, I'm not sure. I guess it's something to do with changes in GCC? In file included from /usr/include/allegro.h:69, from /usr/include/IL/ilut.h:188, from sglxsi.cpp:16: /usr/include/allegro/fix.h:92: error: declaration of C function `fix operator+(f ix, int)' conflicts with /usr/include/allegro/fix.h:91: error: previous declaration `fix operator+(fix, f ix)' here /usr/include/allegro/fix.h:93: error: declaration of C function `fix operator+(i nt, fix)' conflicts with /usr/include/allegro/fix.h:92: error: previous declaration `fix operator+(fix, i nt)' here /usr/include/allegro/fix.h:94: error: declaration of C function `fix operator+(f ix, long int)' conflicts with /usr/include/allegro/fix.h:93: error: previous declaration `fix operator+(int, f ix)' here /usr/include/allegro/fix.h:95: error: declaration of C function `fix operator+(l ong int, fix)' conflicts with /usr/include/allegro/fix.h:94: error: previous declaration `fix operator+(fix, l ong int)' here /usr/include/allegro/fix.h:96: error: declaration of C function `fix operator+(f ix, float)' conflicts with /usr/include/allegro/fix.h:95: error: previous declaration `fix operator+(long i nt, fix)' here
Created an attachment (id=58153) [edit] devil-1.6.7-r1.ebuild
I suddenly realised that there may not be an allegro USE flag. Turns out there isn't one. Perhaps there should be?
thanks, added support for allegro/xpm/mng