NetBSD-Bugs archive

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

Re: toolchain/51082: build.sh fails on release cross-compilation



The following reply was made to PR toolchain/51082; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/51082: build.sh fails on release cross-compilation
Date: Tue, 31 May 2016 06:23:43 +0000

 On Thu, Apr 21, 2016 at 11:50:01AM +0000, triaxx%triaxx.org@localhost wrote:
  > /home/triaxx/dev/nbsd/netbsd-current/usr/src/external/gpl3/gcc/dist/gcc/../include/ansidecl.h:171:64: error: ambiguating new declaration of 'char* basename(const char*)'
  >  #  define ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m)))
  >                                                                 ^
  > /home/triaxx/dev/nbsd/netbsd-current/usr/src/external/gpl3/gcc/dist/gcc/../include/libiberty.h:112:64: note: in expansion of macro 'ATTRIBUTE_NONNULL'
  >  extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1);
  >                                                                 ^
  > /usr/include/string.h:596:26: note: old declaration 'const char* basename(const char*)'
  >  extern "C++" const char *basename (const char *__filename)
 
 Are you still seeing this? I have a vague recollection that it's been
 fixed.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index