------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-01
20:35 -------
(In reply to comment #1)
> Confirmed, this patch should work (could you sumbit if it works for you?):
Looks like I had messed up the logic and the !flag_weak should have been just
flag_weak.
Anyways this has been fixed by:
* c-cppbuiltin.c (c_cpp_builtins): Do not define __GXX_WEAK__ to 1
if !flag_weak.
* doc/cpp.texi (__DEPRECATED): Document.
(__EXCEPTIONS): Likewise.
(__GXX_WEAK__): Likewise.
* g++.dg/cpp/weak.C: New test.
See <http://gcc.gnu.org/ml/gcc-patches/2005-05/msg00042.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14391