Hi,

I am trying to use NSS for using secure communication in my application. During 
compilation I am getting conflicts in type defs as:

netscape/include/npapi.h:104: error: conflicting declaration ‘typedef long 
unsigned int uint32’
/usr/include/nspr/obsolete/protypes.h:117: error: ‘uint32’ has a previous 
declaration as ‘typedef PRUint32 uint32’

When I used #define NO_NSPR_10_SUPPORT in npapi.h, the above error goes but 
several new errors appear:

/usr/include/nss/secitem.h:69: error: ‘PRArenaPool’ was not declared in this 
scope 
etc.

This is because when NO_NSPR_10_SUPPORT is defined, obsolete/protypes.h is not 
included and there are several #defines in it as:
#define PRArenaPool PLArenaPool  etc.

and thus the above second error.

Any idea where am I going wrong? 

Thanks


_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to