Re: Compilation error with Mozilla 2.0 beta SDK
Ted Mielczarek <[email protected]> Tue, 22 Feb 2011 07:46:35 -0500
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 21, 2011 at 6:25 AM, Richa Awasthy <[email protected]> wrote: > 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? 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