« Return to Thread: compiling enigmail

compiling enigmail

by Dave Yeo-3 :: Rate this Message:

| View in Thread

I've run into this error trying to compile enigmail which I'm not knowledgeable to fix. Seems this code is to change the quotes for OS/2. File is here, http://www.mozdev.org/source/browse/enigmail/src/ipc/src/nsPipeTransport.cpp?rev=1.44;content-type=text%2Fx-cvsweb-markup search for XP_OS2 and the error line is the next one. Changing the #ifdef #XP_OS2 to ifdef 0 and everything compiles and I get an extension that works in every way except actually communicating with gpg.exe. I don't know how to fix this.

G:/mozilla/mailnews/extensions/enigmail/ipc/src/nsPipeTransport.cpp: In member function 'nsresult nsPipeTransport::CopyArgsAndCreateProcess(const PRUnichar**, PRUint32, const PRUnichar**, PRUint32, PRFileDesc*, PRFileDesc*, PRFileDesc*)':
G:/mozilla/mailnews/extensions/enigmail/ipc/src/nsPipeTransport.cpp:1079: error: no matching function for call to 'nsCString_external::nsCString_external(const PRUnichar*&)'
../../../../../mozilla/dist/include/nsStringAPI.h:913: note: candidates are: nsCString_external::nsCString_external(const char*, PRUint32, PRUint32)
../../../../../mozilla/dist/include/nsStringAPI.h:883: note:                 nsCString_external::nsCString_external(const char*, PRUint32)
../../../../../mozilla/dist/include/nsStringAPI.h:876: note:                 nsCString_external::nsCString_external(const nsACString&)
../../../../../mozilla/dist/include/nsStringAPI.h:869: note:                 nsCString_external::nsCString_external(const nsCString_external&)
../../../../../mozilla/dist/include/nsStringAPI.h:864: note:                 nsCString_external::nsCString_external()
G:/mozilla/mailnews/extensions/enigmail/ipc/src/nsPipeTransport.cpp:1083: error: invalid initialization of reference of type 'const nsAString&' from expression of type 'nsCAutoString'
../../../../../mozilla/dist/include/nsStringAPI.h:1000: error: in passing argument 1 of 'char* ToNewUTF8String(const nsAString&)'
make.exe[3]: *** [nsPipeTransport.o] Error 1

Dave
_______________________________________________
dev-ports-os2 mailing list
dev-ports-os2@...
https://lists.mozilla.org/listinfo/dev-ports-os2

 « Return to Thread: compiling enigmail