JSConsole.cpp : jspubdt.h syntax error on Win2k (VC6 SP5)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

JSConsole.cpp : jspubdt.h syntax error on Win2k (VC6 SP5)

Jungshik Shin
When building a debug build with 1.8.1 branch source, I stumbled upon
the following error (the only google hit I found was
http://www.firefox.net.cn/newforum/viewtopic.php?t=12400 )

I have VC++ 6.0 SP5 and a process pack. My mozconfig is very simple:

-------mozconfig---------------
. $MOZSRC/browser/config/mozconfig


ac_add_options --enable-debug
ac_add_options --disable-optimize

mk_add_options MOZ_OBJDIR=$MOZBLDDIR/fb.debug.181
-------------mozconfig------------

It's strange that my trunk build doesn't have this problem while my 1.8
branch build does.

Has anybody come across this problem before? TIA for any help,


--------------Cut-----------Here---Error------------
JSConsole.cpp
Building deps for
/cygdrive/f/moz/src.ff2/mozilla/webshell/tests/viewer/JSConsole.cpp
/cygdrive/f/moz/src.ff2/mozilla/build/cygwin-wrapper cl -FoJSConsole.obj
-c  -DMOZILLA_INTERNAL_API -DOSTYPE=\"WINNT5.0\" -DOSARCH=\"WINNT\"
-DBUILD_ID=0000000000 -
DUSE_LOCAL_WIDGETS  -I../../../dist/include/xpcom
-I../../../dist/include/string -I../../../dist/include/embed_base
-I../../../dist/include/webshell -I../../../dist
/include/widget -I../../../dist/include/gfx
-I../../../dist/include/layout -I../../../dist/include/content
-I../../../dist/include/dom -I../../../dist/include/webbr
wsr -I../../../dist/include/docshell -I../../../dist/include/util
-I../../../dist/include/uriloader -I../../../dist/include/locale
-I../../../dist/include/necko -I.
./../../dist/include/htmlparser -I../../../dist/include/view
-I../../../dist/include/pref -I../../../dist/include/intl
-I../../../dist/include/unicharutil -I../../.
./dist/include/editor -I../../../dist/include/windowwatcher
-I../../../dist/include/xpconnect -I../../../dist/include/js
-I../../../dist/include/webshell_tests -I..
/../../dist/include -I../../../dist/include/nspr    -I/usr/X11R6/include
     -I/usr/X11R6/include -TP -nologo -W3 -Gy -FdJSConsole.pdb  -DDEBUG
-D_DEBUG -DDEBUG_jungshik -DTRACING -Zi
-DWIDGET_DLL=\"libwidget_windows.dll\"
-DGFXWIN_DLL=\"libgfx_windows.dll\"  -MDd          -I/usr/X11R6/include
-DMOZILLA_VERSION=\"1.8\" -DMOZILLA_VERSION_U=1.8 -DHAVE_SNPRINTF=1
-D_WINDOWS=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -DHW_THREADS=1
-DWINVER=0x400 -D_WIN32_WINNT=0x400 -DSTDC_HEADERS=1 -DW
IN32_LEAN_AND_MEAN=1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino
-DMOZ_DEFAULT_TOOLKIT=\"windows\" -DMOZ_PHOENIX=1
-DMOZ_BUILD_APP=browser -DMOZ_XUL_APP=1 -DMOZ_DISTRIBUTION
_ID=\"org.mozilla\" -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1
-DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DMOZ_XTF=1
-DMOZ_MATHML=1 -DMOZ_UPDATE_CHANNEL=def
ault -DMOZ_LOGGING=1 -DDETECT_WEBSHELL_LEAKS=1
-DMOZ_USER_DIR=\"Mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1
-DMOZ_DLL_SUFFIX=\".dll\" -DJS_THREADSAFE=1 -DNS_PRINT_
PREVIEW=1 -DNS_PRINTING=1 -DMOZ_REFLOW_PERF=1 -DMOZ_REFLOW_PERF_DSP=1
-DMOZILLA_LOCALE_VERSION=\"1.8b5\" -DMOZILLA_REGION_VERSION=\"1.8b5\"
-DMOZILLA_SKIN_VERSION=\
"1.8\"  -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT
/cygdrive/f/moz/src.ff2/mozilla/webshell/tests/viewer/JSConsole.cpp
JSConsole.cpp
../../../dist/include/js\jspubtd.h(52) : error C2146: syntax error :
missing ';' before identifier 'jsint'
../../../dist/include/js\jspubtd.h(52) : fatal error C1004: unexpected
end of file found
make[4]: *** [JSConsole.obj] Error 2
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: JSConsole.cpp : jspubdt.h syntax error on Win2k (VC6 SP5)

Frank Wein
Jungshik Shin wrote:

> When building a debug build with 1.8.1 branch source, I stumbled upon
> the following error (the only google hit I found was
> http://www.firefox.net.cn/newforum/viewtopic.php?t=12400 )
>
> I have VC++ 6.0 SP5 and a process pack. My mozconfig is very simple:
>
> -------mozconfig---------------
> . $MOZSRC/browser/config/mozconfig
>
>
> ac_add_options --enable-debug
> ac_add_options --disable-optimize
>
> mk_add_options MOZ_OBJDIR=$MOZBLDDIR/fb.debug.181
> -------------mozconfig------------
>
> It's strange that my trunk build doesn't have this problem while my 1.8
> branch build does.
>
> Has anybody come across this problem before? TIA for any help,
[...]

Not before, but actually right now i see this problem, too. The
Tinderboxen probably don't show the problem because those compile with
tests disabled. But in trunk this file seems to compile fine so?

> /cygdrive/f/moz/src.ff2/mozilla/webshell/tests/viewer/JSConsole.cpp
> JSConsole.cpp
> ../../../dist/include/js\jspubtd.h(52) : error C2146: syntax error :
> missing ';' before identifier 'jsint'
> ../../../dist/include/js\jspubtd.h(52) : fatal error C1004: unexpected
> end of file found
> make[4]: *** [JSConsole.obj] Error 2

Frank
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: JSConsole.cpp : jspubdt.h syntax error on Win2k (VC6 SP5)

Scott MacGregor
Frank Wein wrote:

> Jungshik Shin wrote:
>> When building a debug build with 1.8.1 branch source, I stumbled upon
>> the following error (the only google hit I found was
>> http://www.firefox.net.cn/newforum/viewtopic.php?t=12400 )
>>
>> I have VC++ 6.0 SP5 and a process pack. My mozconfig is very simple:
>>
>> -------mozconfig---------------
>> . $MOZSRC/browser/config/mozconfig
>>
>>
>> ac_add_options --enable-debug
>> ac_add_options --disable-optimize
>>
>> mk_add_options MOZ_OBJDIR=$MOZBLDDIR/fb.debug.181
>> -------------mozconfig------------
>>
>> It's strange that my trunk build doesn't have this problem while my 1.8
>> branch build does.
>>
>> Has anybody come across this problem before? TIA for any help,
> [...]
>
> Not before, but actually right now i see this problem, too. The
> Tinderboxen probably don't show the problem because those compile with
> tests disabled. But in trunk this file seems to compile fine so?
>
>> /cygdrive/f/moz/src.ff2/mozilla/webshell/tests/viewer/JSConsole.cpp
>> JSConsole.cpp
>> ../../../dist/include/js\jspubtd.h(52) : error C2146: syntax error :
>> missing ';' before identifier 'jsint'
>> ../../../dist/include/js\jspubtd.h(52) : fatal error C1004: unexpected
>> end of file found
>> make[4]: *** [JSConsole.obj] Error 2
>
> Frank

This has been reported as:

https://bugzilla.mozilla.org/show_bug.cgi?id=324173

-Scott
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds