Sure. Please find attached the updated patch.

Thanks,
Victor

On Sun, Sep 30, 2012 at 12:13 PM, Rhys Ulerich <[email protected]>wrote:

> Hi Victor,
>
> > 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
>
> This sounds like the right fix, but I'd like to make it MSVC-specific.
>  Any chance you could add some vendor-specific ifdefs to the patch?
>
> - Rhys
>

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

Reply via email to