pyXPCOM with mozilla 1.7 + python 2.4

Ola Natvig ola.natvig at
Wed Mar 16 15:25:11 CET 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

): could be 'nsString::nsString(PRUint32)'

: or       'nsString::nsString(const nsAString::char_type

: 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 Natvig <ola.natvig at>
  infoSense AS / development

More information about the Python-list mailing list