pyXPCOM with mozilla 1.7 + python 2.4

Ola Natvig ola.natvig at infosense.no
Wed Mar 16 09:25:11 EST 2005


Hi all

Lately I've been trying to compile pyXPCOM on my windows machine. But 
I've successfully compiled mozilla without pyXPCOM but when I adds the 
pyXPCOM module the build fails with this message:

Error message:
d:/test\moz\mozilla\extensions\python\xpcom\src\VariantUtils.cpp(1151) :
error C2668: 'nsString::nsString' : ambiguous call to overloaded function

d:\test\moz\mozilla\obj-i586-pc-msvc\dist\include\string\nsTString.h(467
): could be 'nsString::nsString(PRUint32)'

d:\test\moz\mozilla\obj-i586-pc-msvc\dist\include\string\nsTString.h(73)
: or       'nsString::nsString(const nsAString::char_type
*,nsAString::size_type
)'

d:\test\moz\mozilla\obj-i586-pc-msvc\dist\include\string\nsTString.h(66)
: or       'nsString::nsString(nsAString::char_type)'
         while trying to match the argument list '(int)'


I wonder if anyone hav expirienced this problem and perhaps found a 
solution to it.

Ola

-- 
--------------------------------------
  Ola Natvig <ola.natvig at infosense.no>
  infoSense AS / development



More information about the Python-list mailing list