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++/22205] [4.1 Regression] errors debug mode on aix


------- Additional Comments From dje at gcc dot gnu dot org  2005-06-28 14:16 -------
I do not understand the comment about GCC for AIX setting GXX_WEAK consistently.
    The value is set by GCC itself, not overridden by AIX.

GXX_WEAK is defined by c-cppbuiltin.c:

      if (flag_weak && SUPPORTS_ONE_ONLY) 
        cpp_define (pfile, "__GXX_WEAK__=1");
      else
        cpp_define (pfile, "__GXX_WEAK__=0");

and depends on SUPPORTS_ONE_ONLY, not just weak support.  I will test if setting
MAKE_DECL_ONE_ONLY works on AIX.

-- 


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


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