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 libstdc++/11504] -Wcast-qual vs. stl_tree


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From bkoz at gcc dot gnu dot org  2003-09-01 13:21 -------
I agree -Wcast-qual should be added to the libstdc++ warning flags.

This could be done in one of three ways, in order of best to worst:

1) add them to all the warning flags when building and testing, by adding it to
WARN_FLAGS in GLIBCXX_EXPORT_FLAGS (in acinclude.m4)

2) add them to --build-cxx in scripts/testsuite_flags.in so that the
g++/libstdc++ runs with it

3) add it to DEFAULT_CXXFLAGS in testsuite/libstdc++-dg/normal.exp so that all
the libstdc++ testruns use it.

best,
benjamin


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