Compiling extension for 2.0b1

howard at eegsoftware.com howard at eegsoftware.com
Thu Sep 14 14:42:23 EDT 2000


I am getting compile errors trying to compile a SWIG 1.1 extension to
work with 2.0b1.

The errors look like:

Compiling...
pycdx3_wrap.cxx
D:\Microsoft Visual Studio\VC98\INCLUDE\math.h(514) : error C2894:
templates cannot be declared to have 'C' linkage
D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(700) : error C2733:
second C linkage of overloaded function 'wmemchr' not allowed
        D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(699) : see
declaration of 'wmemchr'
D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(702) : error C2733:
second C linkage of overloaded function 'wcschr' not allowed
        D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(701) : see
declaration of 'wcschr'
D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(704) : error C2733:
second C linkage of overloaded function 'wcspbrk' not allowed
        D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(703) : see
declaration of 'wcspbrk'
D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(706) : error C2733:
second C linkage of overloaded function 'wcsrchr' not allowed
        D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(705) : see
declaration of 'wcsrchr'
D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(708) : error C2733:
second C linkage of overloaded function 'wcsstr' not allowed
        D:\Microsoft Visual Studio\VC98\INCLUDE\wchar.h(707) : see
declaration of 'wcsstr'

Any clues?

Thanks
Howard Lightstone
EEGSoftware
howard at eegsoftware.com



More information about the Python-list mailing list