Discussion:
Compilation error with Mozilla 2.0 beta SDK
Richa Awasthy
2011-02-21 11:25:18 UTC
Permalink
Hi, I am using Mozilla 2.0 beta SDK. My code used to compile
successfully with the sdks upto Mozilla 1.9.2 version. Now, code
compilation gives following error:
nt\Mozilla2.0\include\jsval.h(93) : error C2061: syntax error :
identifier 'uint8'
\nt\Mozilla2.0\include\jsval.h(114) : error C2118: negative subscript
\nt\Mozilla2.0\include\jsval.h(120) : error C2061: syntax error :
identifier 'uint32'

I am not able to figure out how to resolve this issue.
Is there anyworkaround or fix available for this?
Thanks
Ted Mielczarek
2011-02-22 12:46:35 UTC
Permalink
Post by Richa Awasthy
Hi, I am using Mozilla 2.0 beta SDK. My code used to compile
successfully with the sdks upto Mozilla 1.9.2 version. Now, code
identifier 'uint8'
\nt\Mozilla2.0\include\jsval.h(114) : error C2118: negative subscript
identifier 'uint32'
I am not able to figure out how to resolve this issue.
Is there anyworkaround or fix available for this?
What platform are you building on? It looks like you're building with
a 64-bit compiler but targeting a 32-bit OS. Are you building on OS X
10.6, perhaps? The compiler defaults to 64-bit there.

-Ted

Loading...