Subj : Re: SpiderMonkey 1.5 rc5 build error with Visual C++ To : netscape.public.mozilla.jseng From : John Bandhauer Date : Wed Mar 05 2003 09:56 am see: http://bugzilla.mozilla.org/show_bug.cgi?id=188398#c11 Apparently you need to add /D_X86_=1 to the compiler flags in your make file. John. Digital Man wrote: > prmjtime.c > c:\msvc60\include\winnt.h(3143) : error C2061: syntax error : identifier > 'PCONTEXT' > c:\msvc60\include\winnt.h(3144) : error C2059: syntax error : '}' > c:\msvc60\include\winbase.h(715) : error C2061: syntax error : identifier > 'LPCONTEXT' > c:\msvc60\include\winbase.h(715) : error C2059: syntax error : ';' > c:\msvc60\include\winbase.h(717) : error C2061: syntax error : identifier > 'LPEXCEPTION_POINTERS' > c:\msvc60\include\winbase.h(717) : error C2059: syntax error : ';' > c:\msvc60\include\winbase.h(2057) : error C2146: syntax error : missing ')' > before identifier 'lpContext' > c:\msvc60\include\winbase.h(2057) : error C2081: 'LPCONTEXT' : name in formal > parameter list illegal > c:\msvc60\include\winbase.h(2057) : error C2061: syntax error : identifier > 'lpContext' > c:\msvc60\include\winbase.h(2057) : error C2059: syntax error : ';' > c:\msvc60\include\winbase.h(2058) : error C2059: syntax error : ')' > c:\msvc60\include\winbase.h(2065) : error C2143: syntax error : missing ')' > before '*' > c:\msvc60\include\winbase.h(2065) : error C2143: syntax error : missing '{' > before '*' > c:\msvc60\include\winbase.h(2066) : error C2059: syntax error : ')' > > The fix is simple, just replace these two lines: > > #include > #include > > with: > > #include > > BTW, this build error did not exist in 1.5 rc4a. > > -Rob > > digital man > --- Synchronet 3.10L-Win32 NewsLink 1.43 > * Vertrauen - Fullerton, California - telnet://vert.synchro.net .