This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

Re: [patch] don't give bodies for both 'extern inline' and normal versions of a function in same file


On Jul 18, 2004, Dan Kegel <dank@kegel.com> wrote:

> Similarly, with gcc-3.5, atof.c needs to avoid defining the 'extern inline'
> version, else gcc complains "hey, you asked for both 'always inline'
> and 'never inline', please figure out what you want" and aborts.

This would be a bug in GCC.  Let's fix it there before it's released
instead of working around it in glibc.  extern inline is a GCC
extension, and this code is supposed to be accepted AFAIK.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


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