[SciPy-user] Lib\special\cephes\const.c doesn't compile with Visual Studio

Albert Strasheim fullung at gmail.com
Wed Feb 22 17:30:07 CST 2006


Hello all

I'm having problems recompiling SciPy from SVN with Visual Studio .NET 2003.

When compiling Lib\special\cephes\const.c, the following error occurs:

Lib\special\cephes\const.c(92) : error C2099: initializer is not a constant
Lib\special\cephes\const.c(97) : error C2099: initializer is not a constant

This problem was discussed in comp.lang.c as "initializer is not a
constant error ??" way back in 2004, when somebody else was also
trying to compile some variation on this same code.

http://groups.google.com/group/comp.lang.c/browse_thread/thread/23303c76b160ca90/e6ec7db9b3287aaa%23e6ec7db9b3287aaa

libxml2's trionan.c has some ideas for how to fix this problem.

http://cvs.gnome.org/viewcvs/libxml2/trionan.c?rev=1.14&view=markup

I added a ticket to Trac:

http://projects.scipy.org/scipy/scipy/ticket/12

Regards

Albert



More information about the SciPy-user mailing list