This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failure in building GFortran on Cygwin


Corinna Vinschen wrote:

[ snip sensible explanation that I had actually ran into in the past and
then forgotten about ]

> > Or is pulluting the namespace with a macro called "timezone" too
> > hideous?  In that case we could try declaring it "extern long timezone
> > asm("_timezone");" in the header.
> 
> Erm... sorry if my lack of assembler inlining shows, but that really
> works?  If so, it looks like a rather elegant solution to me.  I'll give
> it a try.

Oops, I think it should be asm("__timezone") with two leading
underscores, as specifying the assembler name like this bypasses the
compiler automatically adding one.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]