[Top][All Lists]

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

Re: 'inline' changes pushed

From: Daiki Ueno
Subject: Re: 'inline' changes pushed
Date: Tue, 04 Dec 2012 18:56:20 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)


Paul Eggert <address@hidden> writes:

> No comments about the 'inline' fixes I posted a couple of
> weeks ago, so I just now pushed them into the gnulib master.

I'm using gcc 4.7 with gcc -std=gnu99.  After commit 618fd97d, list
functions are now defined as "extern inline" (previously "static
inline").  This causes "multiple definition of `foo'" errors when
linking together multiple object files[1].

For my case, bootstrapping gettext from the git master fails with:

.libs/gl_xlist.o: In function 
 multiple definition of `gl_list_nx_create_empty'
first defined here

Can it be fixed by caller side?

[1]  http://gcc.gnu.org/gcc-4.3/porting_to.html

Daiki Ueno

reply via email to

[Prev in Thread] Current Thread [Next in Thread]