Hi, Paul Eggert <paul.egg...@verizon.net> 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