Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/gnu/dist/gcc4



   On Sun, Oct 22, 2006 at 12:41:22AM +0000, matthew green wrote:
   > 
   > Log Message:
   > merge GCC 4.1-20061021.
   
   This causes the build to die in libedit with the following:
   /home/dogcow/work/nbsrc/lib/libedit/vi.c: In function 'vi_alias':
   /home/dogcow/work/nbsrc/lib/libedit/vi.c:926: warning: '__weakref__' 
attribute ignored
   
   This seems to be related to the change cited in
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26993 :
   
     * c-common.c (handle_weakref_attribute): Ignore attribute in
     the same conditions the alias attribute is ignored.
   
   I have no idea if gcc's behavior is correct or not. I would note, 
   however, that __weak_reference (outside of lib/libedit/vi.c) is only
   used in one other MI context (in src/lib/csu/common_elf/common.h, which
   gcc seems to be fine and happy with.)
   

yeah, i've seen this now.  i'm working on it.


.mrg.



Home | Main Index | Thread Index | Old Index