Re: visibility.m4

2010-04-20 Thread Simon Josefsson
Bruno Haible writes: > It is bizarre, though, that the warning only appears at the first function > definition. Seen on Cygwin 1.7.2: ... > AC_TRY_COMPILE does add a function for 'main', but this deserves a comment at > least. Yes, the entire semantics of this flag on Windows appears strange. >

Re: visibility.m4

2010-04-20 Thread Bruno Haible
Hi Simon, Sorry, this thread was in a dark corner of my mailbox where I didn't see your ping requests. > >> Bruno, how about this patch? > >> > >> /Simon > >> > >> diff --git a/m4/visibility.m4 b/m4/visibility.m4 > >> index 35a6dc

Re: visibility.m4

2010-04-19 Thread Simon Josefsson
s: >> >>> Hello- >>> >>> If I use visibility.m4 on a platform with a recent GCC (4.x) on >>> Cygwin, the visibility.m4 correctly discovers that gcc can compile with >>> -fvisibility="hidden".  But, on Cygwin (and probably most non

Re: visibility.m4

2010-03-25 Thread Simon Josefsson
Bruno, ping? Ok to push? /Simon Simon Josefsson writes: > Mike Gran writes: > >> Hello- >> >> If I use visibility.m4 on a platform with a recent GCC (4.x) on >> Cygwin, the visibility.m4 correctly discovers that gcc can compile with >> -fvisibility=&qu

Re: visibility.m4

2010-01-12 Thread Simon Josefsson
Mike Gran writes: > Hello- > > If I use visibility.m4 on a platform with a recent GCC (4.x) on > Cygwin, the visibility.m4 correctly discovers that gcc can compile with > -fvisibility="hidden".  But, on Cygwin (and probably most non-ELF) gcc does > not actualy

Re: visibility.m4

2009-11-02 Thread Paolo Bonzini
On 10/31/2009 05:34 PM, Mike Gran wrote: Hello- If I use visibility.m4 on a platform with a recent GCC (4.x) on Cygwin, the visibility.m4 correctly discovers that gcc can compile with -fvisibility="hidden". But, on Cygwin (and probably most non-ELF) gcc does not actualy imp

visibility.m4

2009-11-01 Thread Mike Gran
Hello- If I use visibility.m4 on a platform with a recent GCC (4.x) on Cygwin, the visibility.m4 correctly discovers that gcc can compile with -fvisibility="hidden".  But, on Cygwin (and probably most non-ELF) gcc does not actualy implement the visibility and emits the warning &