pyXPCOM with mozilla 1.7 + python 2.4

O

Ola Natvig

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top