octave-maintainers
[Top][All Lists]
Advanced

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

Re: MSVC patch: CXSparse support for MSVC


From: Michael Goffioul
Subject: Re: MSVC patch: CXSparse support for MSVC
Date: Wed, 6 Jun 2007 06:38:38 +0200

On 6/5/07, David Bateman <address@hidden> wrote:
With SuiteSparse 3.0.0 the type of cs_complex_t in C++ code is
std::complex<double>. So at least with SuiteSparse 3.0.0 (which includes
CXSparse 2.2.0) does MSVC need to do anything special?

Yes. It needs to
1) run the configure test in C++ mode, otherwise cs_complex_t is defined
to double _Complex
2) define OCTAVE_C99_ZERO in the std::complex way: 0.+0.iF is not
supported by MSVC

The patch is rather small.

Michael.


reply via email to

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