If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

TM: 64-bit VC9: dist\include\jsval.h(636) : error C2143: syntax error : missing ';' before 'type'

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: m_kato, Assigned: m_kato)

Tracking

Trunk
x86_64
Windows Vista
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 attachment)

(Assignee)

Description

7 years ago
This is tracemonkey tree.

jsval.h is included from C source files such as jsdebug.c in js/jsd.  So variable define should be before assertion code.


c:/mozilla-build/python25/python2.5.exe -O c:/Workspace/hg.mozilla.org/tracemonkey/build/cl.py cl -Fojsdebug.obj -c -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DSTATIC_EXPORTABLE_JS_API -DZLIB_INTERNAL -DOSTYPE=\"WINNT6.0\" -DOSARCH=WINNT -DEXPORT_JSD_API  -I/c/Workspace/hg.mozilla.org/tracemonkey/js/jsd -I. -I../../dist/include -I../../dist/include/nsprpub  -Ic:/Workspace/hg.mozilla.org/objdir-tm-win64/dist/include/nspr -Ic:/Workspace/hg.mozilla.org/objdir-tm-win64/dist/include/nss         -TC -nologo -W3 -Gy -Fdgenerated.pdb  -DNDEBUG -DTRIMMED -Zi -Zi -UDEBUG -DNDEBUG -GL -O1 -MD            -FI ../../dist/include/mozilla-config.h -DMOZILLA_CLIENT /c/Workspace/hg.mozilla.org/tracemonkey/js/jsd/jsdebug.c
jsdebug.c
c:\workspace\hg.mozilla.org\objdir-tm-win64\dist\include\jsval.h(636) : error C2143: syntax error : missing ';' before 'type'
c:\workspace\hg.mozilla.org\objdir-tm-win64\dist\include\jsval.h(638) : error C2065: 'ptrBits' : undeclared identifier
c:\workspace\hg.mozilla.org\objdir-tm-win64\dist\include\jsval.h(674) : error C2143: syntax error : missing ';' before 'type'
c:\workspace\hg.mozilla.org\objdir-tm-win64\dist\include\jsval.h(676) : error C2065: 'objBits' : undeclared identifier
c:\workspace\hg.mozilla.org\objdir-tm-win64\dist\include\jsval.h(681) : error C2061: syntax error : identifier 'JSVAL_IS_NULL_IMPL'
c:\workspace\hg.mozilla.org\objdir-tm-win64\dist\include\jsval.h(681) : error C2059: syntax error : ';'
c:\workspace\hg.mozilla.org\objdir-tm-win64\dist\include\jsval.h(681) : error C2059: syntax error : 'type'
c:\workspace\hg.mozilla.org\objdir-tm-win64\dist\include\jsval.h(703) : warning C4013: 'JSVAL_IS_NULL_IMPL' undefined; assuming extern returning int
(Assignee)

Comment 1

7 years ago
Created attachment 472327 [details] [diff] [review]
fix
Assignee: general → m_kato
Attachment #472327 - Flags: review?(lw)

Updated

7 years ago
Attachment #472327 - Flags: review?(lw) → review+
(Assignee)

Comment 2

7 years ago
http://hg.mozilla.org/tracemonkey/rev/a4da54094b4c
Whiteboard: fixed-in-tracemonkey
(Assignee)

Comment 3

7 years ago
already merged into m-c
http://hg.mozilla.org/mozilla-central/rev/a4da54094b4c
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.