Closed
Bug 277221
Opened 20 years ago
Closed 20 years ago
tzdata.c build errors in calICSService.cpp
Categories
(Calendar :: Internal Components, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Callek, Assigned: vlad)
Details
Attachments
(1 file)
|
2.53 KB,
patch
|
Details | Diff | Splinter Review |
when compiling mozilla/calendar/base/src/calICSService.cpp I received build errors in tzdata.c (MSVC7) This is with an XP SP2 computer, so not sure if that added anything new here. Leaving UNCO since I am not sure what caused it, nor if there is an easy fix... For the record Building Seamonkey calICSService.cpp Building deps for /cygdrive/D/Mozilla/Sources/Trunk/mozilla/calendar/base/src/calICSService.cpp /cygdrive/D/Mozilla/Sources/Trunk/mozilla/build/cygwin-wrapper cl -FocalICSService.obj -c -DOSTYPE=\"WINNT5.1\" -DOSARCH=\"WINNT\" -I../../../dist/include/xpcom -I../../../dist/include/js -I../../../dist/include/xpconnect -I../../../dist/include/string -I../../../dist/include/ical -I../../../dist/include/calbase -I../../../dist/include -I../../../dist/include/nspr -TP -nologo -W3 -Gy -Fdcalbase_s.pdb -DNDEBUG -DTRIMMED -O1 -MD -DX_DISPLAY_MISSING=1 -DMOZILLA_VERSION=\"1.8a6\" -DHAVE_SNPRINTF=1 -D_WINDOWS=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -DHW_THREADS=1 -DWINVER=0x400 -DSTDC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DMOZ_DEFAULT_TOOLKIT=\"windows\" -DMOZ_BUILD_APP=suite -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_SVG=1 -DMOZ_SVG_RENDERER_GDIPLUS=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\"Mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILESHARING=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".dll\" -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZILLA_LOCALE_VERSION=\"1.8a6\" -DMOZILLA_REGION_VERSION=\"1.8a6\" -DMOZILLA_SKIN_VERSION=\"1.5\" -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT /cygdrive/D/Mozilla/Sources/Trunk/mozilla/calendar/base/src/calICSService.cpp cl : Command line warning D4029 : optimization is not available in the standard edition compiler calICSService.cpp d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(94) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(106) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(334) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(340) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(358) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(370) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(388) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(406) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(412) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(418) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(436) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(454) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(466) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(478) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(496) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(502) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(556) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(556) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(598) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(604) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(616) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(622) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(628) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(640) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(652) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(664) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(670) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(676) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(682) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(700) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(706) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(742) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(748) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(778) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(784) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(802) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(814) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(832) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(880) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(904) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(910) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(922) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(934) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(940) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(940) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(994) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1006) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1018) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1024) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1066) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1114) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1120) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1126) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1150) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1162) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1168) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1198) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1228) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1240) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1258) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1276) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1360) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1366) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1456) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1462) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1516) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1522) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1528) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1528) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1564) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1564) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1570) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1588) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1594) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1606) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1618) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1636) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1648) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1654) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1666) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1672) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1672) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1684) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1690) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1696) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1702) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1708) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1714) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1726) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1726) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1732) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1744) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1750) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1756) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1762) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1762) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1774) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1774) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1780) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1786) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1792) : error C2026: string too big, trailing characters truncated d:\Mozilla\Sources\Trunk\mozilla\calendar\base\src\tzdata.c(1792) : fatal error C1003: error count exceeds 100; stopping compilation make[7]: *** [calICSService.obj] Error 2 make[7]: Leaving directory `/cygdrive/D/Mozilla/ObjectDirs/Built_No_DBG/calendar/base/src' make[6]: *** [libs] Error 2 make[6]: Leaving directory `/cygdrive/D/Mozilla/ObjectDirs/Built_No_DBG/calendar/base' make[5]: *** [libs] Error 2 make[5]: Leaving directory `/cygdrive/D/Mozilla/ObjectDirs/Built_No_DBG/calendar' make[4]: *** [tier_98] Error 2 make[4]: Leaving directory `/cygdrive/D/Mozilla/ObjectDirs/Built_No_DBG' make[3]: *** [default] Error 2 make[3]: Leaving directory `/cygdrive/D/Mozilla/ObjectDirs/Built_No_DBG' make[2]: *** [build] Error 2 make[2]: Leaving directory `/cygdrive/D/Mozilla/Sources/Trunk'
Comment 1•20 years ago
|
||
i'm getting this as well on windows
Assignee: shaver → vladimir
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 2•20 years ago
|
||
Temporary fix (discussed on irc) is to #if 0 the contents of the array and add a
{NULL,NULL,NULL,NULL} entry at the end.. real fix is somewhat harder, because
I'm not at all sure how the heck to get around the MSVC limit. Will figure this
out soon.| Reporter | ||
Comment 3•20 years ago
|
||
This is the temporary workaround as described on IRC and in the last comment... Apply if you wish, likely will conflict with "real" patch when it is released, but use this to make your --enable-calendar'd tree build.
Comment 4•20 years ago
|
||
MSVC6 is getting a compiler heap exceeded error on this
Comment 5•20 years ago
|
||
I also get the "compiler heap exceeded" build error. I use the MSVC 7 compiler on WinXP SP2. The workaround posted here does not work in this case. calICSService.cpp Building deps for calICSService.cpp /cygdrive/c/mozilla/build/cygwin-wrapper cl -FocalICSService.obj -c -D_IMPL_NS_GFX -D_IMPL_NS_MSG_BASE -D_IMPL_NS_WIDGET -D OSTYPE=\"WINNT5.1\" -DOSARCH=\"WINNT\" -I../../../dist/include/xpcom -I../../../dist/include/js -I../../../dist/include/xpco nnect -I../../../dist/include/string -I../../../dist/include/ical -I../../../dist/include/calbase -I../../../dist/include -I. ./../../dist/include/nspr -TP -nologo -W3 -Gy -Fdcalbase_s.pdb -DNDEBUG -DTRIMMED -O2 -G6 -MD -DX_DISPLA Y_MISSING=1 -DMOZILLA_VERSION=\"1.8b\" -DHAVE_SNPRINTF=1 -D_WINDOWS=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -DHW_THREA DS=1 -DWINVER=0x400 -DSTDC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DMOZ_DEFAULT_TOOLKIT=\"windo ws\" -DMOZ_SUNBIRD=1 -DMOZ_BUILD_APP=calendar -DMOZ_XUL_APP=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DIBMBIDI=1 -DMOZ_XPINSTA LL=1 -DMOZ_JSLOADER=1 -DMOZ_XTF=1 -DMOZ_STORAGE=1 -DNS_DISABLE_LOGGING=1 -DMOZ_USER_DIR=\"Mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILE LOCKING=1 -DMOZ_DLL_SUFFIX=\".dll\" -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZILLA_LOCALE_VERSION=\"1.8b\" -DMOZILLA_REGION_VERSION=\"1.8b\" -DMOZILLA_SKIN_VERSION=\"1.5\" -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT /cygdrive/c/mozilla/c alendar/base/src/calICSService.cpp calICSService.cpp c:\mozilla\calendar\base\src\tzdata.c(7040) : fatal error C1076: Compilerlimit: compiler heap exceeded; Use /Z for a higher boundary make[5]: *** [calICSService.obj] Error 2 make[5]: Leaving directory `/cygdrive/c/mozilla/calendar/base/src' make[4]: *** [libs] Error 2 make[4]: Leaving directory `/cygdrive/c/mozilla/calendar/base' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/cygdrive/c/mozilla/calendar' make[2]: *** [tier_98] Error 2 make[2]: Leaving directory `/cygdrive/c/mozilla' make[1]: *** [default] Error 2 make[1]: Leaving directory `/cygdrive/c/mozilla' make: *** [build] Error 2
Severity: critical → blocker
Comment 6•20 years ago
|
||
Does adding a better /Z value to your CFLAGS help?
Comment 7•20 years ago
|
||
(In reply to comment #6) > Does adding a better /Z value to your CFLAGS help? Mike, sorry for my lack of knowledge of our build system, but if you tell me how to change that value, I will certainly test if this has any effect.
Comment 8•20 years ago
|
||
It's a non-issue, I think vlad and mvl figured out how to trim tzdata.c down to be smaller than jsinterp.c, so we're just waiting for that checkin at this point.
| Assignee | ||
Comment 9•20 years ago
|
||
checkin went in; is anyone still having issues building?
Comment 10•20 years ago
|
||
(In reply to comment #9) > checkin went in; is anyone still having issues building? Not me. My build went fine with MSVC
| Reporter | ||
Comment 11•20 years ago
|
||
fixed for me, and no-one claimed otherwise
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•