bug-gnulib
[Top][All Lists]
Advanced

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

Re: dummy: fix for Solaris compiler


From: James Youngman
Subject: Re: dummy: fix for Solaris compiler
Date: Tue, 13 Mar 2007 09:50:03 +0000

On 3/11/07, Bruno Haible <address@hidden> wrote:
[...]
+ #ifdef __sun
+ /* This declaration ensures that the library will export at least 1 symbol.  
*/
+ int dummy;
+ #else
[...]

Could we maybe pick an external symbol name that's less likely to
clash?  I don't mind gnulib defining external symbols all the time,
but defining a symbol named as generically as "dummy" on only one
platform makes me worry that it'll conflict in some program, leading
to build failures for just the affected platform.

So can I suggest we define dummy unconditionally, or rename it to
(say) gnulib_dummy_symbol?

James




reply via email to

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