ISO C++ does not support `long long'

When compiling programs that use boost, I get multiple warnings along these lines.. /home/josh/boost/type_traits/is_convertible.hpp:274: warning: ISO C++ does not support `long long' /home/josh/boost/type_traits/is_convertible.hpp:274: warning: ISO C++ does not support `long long' In file included from /home/josh/boost/iterator_adaptors.hpp:125, from /home/josh/boost/token_iterator.hpp:15, from /home/josh/boost/tokenizer.hpp:21, Am I doing something wrong? do I need to #define something? Using FreeBSD 4.9, gcc 3.2.3. Thanks, Joshua Moore-Oliva

Yes I always compile with pedantic.. The REALLY strange part is.. If the header files are in /usr/local/include, I don't get the warnings, but if they are in another directory I *do*!! :/ On December 11, 2003 06:27 am, John Maddock wrote:
Am I doing something wrong? do I need to #define something?
I presume that you are compiling with -pedantic or something? Try adding -Wno-long-long to your command lines to suppress those.
John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

On Thursday 11 December 2003 08:58 am, Joshua Moore-Oliva wrote:
Yes I always compile with pedantic..
The REALLY strange part is.. If the header files are in /usr/local/include, I don't get the warnings, but if they are in another directory I *do*!!
:/
Many compilers suppress warnings in headers that come from system include directories. Doug
participants (3)
-
Douglas Gregor
-
John Maddock
-
Joshua Moore-Oliva