This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/38503] [4.4 regression] warnings from -isystem headers strikes back.



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-01-12 13:54 -------
I can't seem to compile the preprocessed source:

In file included from ./sys-headers/boost/mpl/int.hpp:21,
                 from
./sys-headers/boost/type_traits/detail/template_arity_spec
.hpp:11,
                 from
./sys-headers/boost/type_traits/detail/bool_trait_def.hpp:
15,
                 from ./sys-headers/boost/type_traits/is_same.hpp:32,
                 from ./sys-headers/boost/type_traits/intrinsics.hpp:131,
                 from ./sys-headers/boost/type_traits/alignment_of.hpp:16,
                 from ./sys-headers/boost/optional/optional.hpp:22,
                 from ./sys-headers/boost/optional.hpp:16,
                 from bug.cpp:2:
./sys-headers/boost/mpl/aux_/integral_wrapper.hpp:43: error: expected
unqualifie
d-id before ?int?
./sys-headers/boost/mpl/aux_/integral_wrapper.hpp:43: error: expected ?)?
before
 ?int?
...

Note that the warning is from bug.cpp:6, not a system header anyway (the
_note_ is from a system header, do you want that to disappear?)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38503


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]