[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) |
Hi,
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
`gl_list_nx_create_empty':/home/ueno/devel/gettext/gettext-tools/gnulib-lib/gl_list.h:557:
multiple definition of `gl_list_nx_create_empty'
.libs/gl_list.o:/home/ueno/devel/gettext/gettext-tools/gnulib-lib/gl_list.h:557:
first defined here
...
Can it be fixed by caller side?
Footnotes:
[1] http://gcc.gnu.org/gcc-4.3/porting_to.html
Regards,
--
Daiki Ueno
- Re: 'inline' changes pushed,
Daiki Ueno <=