bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] fix for a broken complex macro from MSVC headers


From: address@hidden
Subject: [Bug-gsl] fix for a broken complex macro from MSVC headers
Date: Wed, 26 Sep 2012 15:56:02 -0700

I had a compilation error when trying to build GSL with Visual C++. The
problem was that the math.h supplied with this compiler redefines complex
as _complex thus messing up the concatenated names in the GSL matrix
library, for example, gsl_matrix__complex_submatrix (note double "_"
between matrix and complex).

The attached trivial patch fixes the problem by undefining complex in
templates_on.h

Best regards,
Victor

Attachment: 0001-Undefine-complex.patch
Description: Binary data


reply via email to

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