From: Hubert F. <hu...@fi...> - 2007-01-19 21:51:45
|
Hi, I'm trying to use gil from asl 1.0.23, and compile my files with gcc-3.3 on Linux, and it fails miserably. The first errors are these: In file included from ../../external/gil/core/channel.hpp:26, from ../../external/gil/core/gil_all.hpp:22, from ximage.h:10, from ximage.cpp:7: ../../external/gil/core/utilities.hpp:68: error: conflicting types for `T gil::point2<T>::*gil::point2<T>::mem_array[gil::point2<T>::num_dimensions]' ../../external/gil/core/utilities.hpp:64: error: previous declaration as `T gil::point2<T>::*gil::point2<T>::mem_array[gil::point2<T>::num_dimensions]' In file included from ../../external/gil/core/gil_all.hpp:22, from ximage.h:10, from ximage.cpp:7: ../../external/gil/core/channel.hpp:107: warning: `inline' is not at beginning of declaration ../../external/gil/core/channel.hpp:110: warning: `inline' is not at beginning of declaration The header on do this: #include <gil/core/gil_all.hpp> (no other includes before). If I use gcc-4.x, it works. Unfortunately it is again a case were gcc 4.0 is not an option. Any idea or GIL is know to NOT work with gcc 3.3 Thanks Hub |