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-03 12:15 -------
Testing this, if it passes on x86/linux I'll check it in.

2003-09-03  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/11504
	* acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
	WARN_FLAGS.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/acinclude.m4,v
retrieving revision 1.269
diff -c -p -r1.269 acinclude.m4
*** acinclude.m4	2 Sep 2003 18:46:46 -0000	1.269
--- acinclude.m4	3 Sep 2003 12:13:51 -0000
*************** AC_DEFUN(GLIBCXX_EXPORT_FLAGS, [
*** 653,659 ****
    OPTIMIZE_CXXFLAGS=
    AC_SUBST(OPTIMIZE_CXXFLAGS)
  
!   WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
    AC_SUBST(WARN_FLAGS)
  ])
  
--- 653,659 ----
    OPTIMIZE_CXXFLAGS=
    AC_SUBST(OPTIMIZE_CXXFLAGS)
  
!   WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Wcast-qual'
    AC_SUBST(WARN_FLAGS)
  ])


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