Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-24ubuntu1) /usr/lib/gcc/i486-linux-gnu/4.1.3/cc1plus -quiet -v -I../../../ -H -D_GNU_SOURCE test_static_warning.cpp -quiet -dumpbase test_static_warning.cpp -mtune=generic -auxbase test_static_warning -Wall -W -Wextra -version -fstack-protector -fstack-protector -o /tmp/ccXkomEJ.s ignoring nonexistent directory "/usr/local/include/i486-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../i486-linux-gnu/include" ignoring nonexistent directory "/usr/include/i486-linux-gnu" #include "..." search starts here: #include <...> search starts here: ../../../ /usr/include/c++/4.1.3 /usr/include/c++/4.1.3/i486-linux-gnu /usr/include/c++/4.1.3/backward /usr/local/include /usr/lib/gcc/i486-linux-gnu/4.1.3/include /usr/include End of search list. GNU C++ version 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-24ubuntu1) (i486-linux-gnu) compiled by GNU C version 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-24ubuntu1). GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128127 Compiler executable checksum: ed14c82ecdfadc9c11123cb55b3f923c . ../../../boost/config.hpp .. ../../../boost/config/user.hpp .. ../../../boost/config/select_compiler_config.hpp .. ../../../boost/config/compiler/gcc.hpp .. ../../../boost/config/select_stdlib_config.hpp ... /usr/include/c++/4.1.3/cstddef .... /usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h ... ../../../boost/config/no_tr1/utility.hpp .... /usr/include/c++/4.1.3/utility ..... /usr/include/c++/4.1.3/i486-linux-gnu/bits/c++config.h ...... /usr/include/c++/4.1.3/i486-linux-gnu/bits/os_defines.h ....... /usr/include/features.h ........ /usr/include/sys/cdefs.h ......... /usr/include/bits/wordsize.h ........ /usr/include/gnu/stubs.h ......... /usr/include/bits/wordsize.h ......... /usr/include/gnu/stubs-32.h ...... /usr/include/c++/4.1.3/i486-linux-gnu/bits/cpu_defines.h ..... /usr/include/c++/4.1.3/bits/stl_relops.h ..... /usr/include/c++/4.1.3/bits/stl_pair.h .. ../../../boost/config/stdlib/libstdcpp3.hpp .. ../../../boost/config/select_platform_config.hpp .. ../../../boost/config/platform/linux.hpp ... /usr/include/c++/4.1.3/cstdlib .... /usr/include/stdlib.h ..... /usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h ..... /usr/include/bits/waitflags.h ..... /usr/include/bits/waitstatus.h ...... /usr/include/endian.h ....... /usr/include/bits/endian.h ....... /usr/include/bits/byteswap.h ........ /usr/include/bits/wordsize.h ..... /usr/include/xlocale.h ..... /usr/include/sys/types.h ...... /usr/include/bits/types.h ....... /usr/include/bits/wordsize.h ....... /usr/include/bits/typesizes.h ...... /usr/include/time.h ...... /usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h ...... /usr/include/sys/select.h ....... /usr/include/bits/select.h ....... /usr/include/bits/sigset.h ....... /usr/include/time.h ....... /usr/include/bits/time.h ...... /usr/include/sys/sysmacros.h ...... /usr/include/bits/pthreadtypes.h ....... /usr/include/bits/wordsize.h ..... /usr/include/alloca.h ...... /usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h ... ../../../boost/config/posix_features.hpp .... /usr/include/unistd.h ..... /usr/include/bits/posix_opt.h ..... /usr/include/bits/environments.h ...... /usr/include/bits/wordsize.h ..... /usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h ..... /usr/include/bits/confname.h ..... /usr/include/getopt.h .. ../../../boost/config/suffix.hpp . ../../../boost/serialization/static_warning.hpp . ../../../boost/type_traits/is_polymorphic.hpp .. ../../../boost/type_traits/intrinsics.hpp ... ../../../boost/type_traits/config.hpp .... ../../../boost/detail/workaround.hpp .. ../../../boost/type_traits/is_class.hpp ... ../../../boost/type_traits/is_union.hpp .... ../../../boost/type_traits/remove_cv.hpp ..... ../../../boost/type_traits/broken_compiler_spec.hpp ...... ../../../boost/mpl/aux_/lambda_support.hpp ....... ../../../boost/mpl/aux_/config/lambda.hpp ........ ../../../boost/mpl/aux_/config/ttp.hpp ......... ../../../boost/mpl/aux_/config/msvc.hpp ......... ../../../boost/mpl/aux_/config/gcc.hpp ......... ../../../boost/mpl/aux_/config/workaround.hpp ........ ../../../boost/mpl/aux_/config/ctps.hpp ..... ../../../boost/type_traits/detail/cv_traits_impl.hpp ..... ../../../boost/type_traits/detail/type_trait_def.hpp ...... ../../../boost/type_traits/detail/template_arity_spec.hpp ....... ../../../boost/mpl/int.hpp ........ ../../../boost/mpl/int_fwd.hpp ......... ../../../boost/mpl/aux_/adl_barrier.hpp .......... ../../../boost/mpl/aux_/config/adl.hpp ........... ../../../boost/mpl/aux_/config/intel.hpp ......... ../../../boost/mpl/aux_/nttp_decl.hpp .......... ../../../boost/mpl/aux_/config/nttp.hpp ........ ../../../boost/mpl/aux_/integral_wrapper.hpp ......... ../../../boost/mpl/integral_c_tag.hpp .......... ../../../boost/mpl/aux_/config/static_constant.hpp ......... ../../../boost/mpl/aux_/static_cast.hpp ......... ../../../boost/preprocessor/cat.hpp .......... ../../../boost/preprocessor/config/config.hpp ....... ../../../boost/mpl/aux_/template_arity_fwd.hpp ....... ../../../boost/mpl/aux_/preprocessor/params.hpp ........ ../../../boost/mpl/aux_/config/preprocessor.hpp ........ ../../../boost/preprocessor/comma_if.hpp ......... ../../../boost/preprocessor/punctuation/comma_if.hpp .......... ../../../boost/preprocessor/control/if.hpp ........... ../../../boost/preprocessor/control/iif.hpp ........... ../../../boost/preprocessor/logical/bool.hpp .......... ../../../boost/preprocessor/facilities/empty.hpp .......... ../../../boost/preprocessor/punctuation/comma.hpp ........ ../../../boost/preprocessor/repeat.hpp ......... ../../../boost/preprocessor/repetition/repeat.hpp .......... ../../../boost/preprocessor/debug/error.hpp .......... ../../../boost/preprocessor/detail/auto_rec.hpp .......... ../../../boost/preprocessor/tuple/eat.hpp ........ ../../../boost/preprocessor/inc.hpp ......... ../../../boost/preprocessor/arithmetic/inc.hpp ....... ../../../boost/mpl/aux_/config/overload_resolution.hpp ..... ../../../boost/type_traits/detail/type_trait_undef.hpp .... ../../../boost/type_traits/detail/bool_trait_def.hpp ..... ../../../boost/type_traits/detail/template_arity_spec.hpp ..... ../../../boost/type_traits/integral_constant.hpp ...... ../../../boost/mpl/bool.hpp ....... ../../../boost/mpl/bool_fwd.hpp ...... ../../../boost/mpl/integral_c.hpp ....... ../../../boost/mpl/integral_c_fwd.hpp ....... ../../../boost/mpl/aux_/integral_wrapper.hpp .... ../../../boost/type_traits/detail/bool_trait_undef.hpp ... ../../../boost/type_traits/detail/ice_and.hpp ... ../../../boost/type_traits/detail/ice_not.hpp ... ../../../boost/type_traits/detail/yes_no_type.hpp ... ../../../boost/type_traits/detail/bool_trait_def.hpp .... ../../../boost/type_traits/detail/template_arity_spec.hpp ... ../../../boost/type_traits/detail/bool_trait_undef.hpp .. ../../../boost/type_traits/detail/bool_trait_def.hpp ... ../../../boost/type_traits/detail/template_arity_spec.hpp .. ../../../boost/type_traits/detail/bool_trait_undef.hpp test_static_warning.cpp:14: warning: ignoring #pragma warning test_static_warning.cpp: In member function ‘int STATIC_WARNING48::f()’: test_static_warning.cpp:48: warning: division by zero in ‘STATIC_WARNING / 0’ test_static_warning.cpp: In member function ‘int STATIC_WARNING49::f()’: test_static_warning.cpp:49: warning: division by zero in ‘STATIC_WARNING / 0’ test_static_warning.cpp: In member function ‘int STATIC_WARNING50::f()’: test_static_warning.cpp:50: warning: division by zero in ‘STATIC_WARNING / 0’ test_static_warning.cpp: In member function ‘int STATIC_WARNING51::f()’: test_static_warning.cpp:51: warning: division by zero in ‘STATIC_WARNING / 0’ test_static_warning.cpp: In member function ‘int main(int, char**)::STATIC_WARNING59::f()’: test_static_warning.cpp:59: warning: division by zero in ‘STATIC_WARNING / 0’ test_static_warning.cpp: In member function ‘int main(int, char**)::STATIC_WARNING60::f()’: test_static_warning.cpp:60: warning: division by zero in ‘STATIC_WARNING / 0’ test_static_warning.cpp: In member function ‘int main(int, char**)::STATIC_WARNING61::f()’: test_static_warning.cpp:61: warning: division by zero in ‘STATIC_WARNING / 0’ test_static_warning.cpp: In member function ‘int main(int, char**)::STATIC_WARNING62::f()’: test_static_warning.cpp:62: warning: division by zero in ‘STATIC_WARNING / 0’ Multiple include guards may be useful for: /usr/include/bits/byteswap.h as --traditional-format -V -Qy -o test_static_warning.o /tmp/ccXkomEJ.s GNU assembler version 2.19.1 (i486-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.19.1