help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] problem building gsl 1.5 in cygwin


From: Lorenzo Moneta
Subject: Re: [Help-gsl] problem building gsl 1.5 in cygwin
Date: Fri, 7 Jan 2005 18:12:16 +0100


On 7 Jan 2005, at 17:57, address@hidden wrote:

Have you tried GSL 1.6 ?


Yes and the problem is there too.
It is due to the file:

 templates_on.h

in the top level directory.

The MSVC compiler unfortunately defines

#define complex _complex

and in those file complex is used as a variable to another defined.

I temporary fixed the problem adding these lines in the templates_on.h file :

#if defined(complex)
#undef complex
#endif

Maybe exists a more elegant solution ?
I guess these problem can always appear when using  C macros,

Cheers,
Lorenzo






reply via email to

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