[Top][All Lists]
[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
0001-Undefine-complex.patch
Description: Binary data
- [Bug-gsl] fix for a broken complex macro from MSVC headers,
address@hidden <=