[Bug libstdc++/11504] -Wcast-qual vs. stl_tree
bkoz at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 1 13:22:00 GMT 2003
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
More information about the Gcc-bugs
mailing list