Closed Bug 898454 Opened 11 years ago Closed 11 years ago

Workmonitor.cpp fails to compile

Categories

(Firefox :: Untriaged, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 897674

People

(Reporter: james2432, Unassigned)

Details

User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2; .NET CLR 1.1.4322; InfoPath.1; MS-RTC LM 8)

Steps to reproduce:

-Running windows 7 32-bit.
-Compiling with Visual Studio 2012
-Used "start-msvc11.bat" from the mozilla-build
-Pulled from the http://hg.mozilla.org/mozilla-central/  
-Command used to compile with clean obj-i686-pic-mingw32 within the mozilla-central folder: python build/pymake/make.py -f client.mk build


Actual results:

workmonitor.cpp
c:\Users\jnadeau\mozilla-central\obj-i686-pc-mingw32\dist\stl_wrappers\xutility(36) : fatal error C1189: #error : "STL code can only be used with infallible ::operator new()"
c:\Users\jnadeau\mozilla-central\config\rules.mk:1151:0: command 'c:/Users/jnadeau/mozilla-central/obj-i686-pc-mingw32/_virtualenv/Scripts/python.exe -0 c:/users/jnadeau/mozilla-central/build/cl.py cl -Forserviceinstall.obj -c -D_HAS_EXCEPTIONS=0 -I../../../dist/stl_wrappers -DUNICODE -DUNICODE -DNO_NSPR_10_SUPPORT -DNS_NO_XPCOM -Ic:/Users/jnadeau/mozilla-central/toolkit/xre -Ic:/Users/jnadeau/mozilla-central/toolkit/mozapps/update/common -Ic:/Users/jnadeau/mozilla-central/toolkit/components/maintenanceservice -I. -I../../../dist/include -Ic:/Users/jnadeau/mozilla-central/obj-i686-pc-mingw32/dist/includenspr -Ic:/Users/jnadeau/mozilla-central/obj-i686-pc-mingw32/dist/include/nss -wd4099 -TP -nologo -W3 -Gy -Fdgenerated.pdb -wd4251 -wd4244 -wd4345 -wd4351 -wd4482 -wd4800 -wd4819 -we4553 -GR- -DNDEBUG -DTRIMMED -Zi -UDEBUG -DNDEBUG -01 -0y -MT -FI../../../dist/include/mozilla-config.h -DMOZILLA_CLIENT c:/Users/jnadeau/mozilla-central/toolkit/components/maintenanceservices/serviceinstall.cpp' failed, return code 2
<maintenanceservice.exe>: Found error


Expected results:

Application compiles correctly
Getting this as will on Windows 8.

67:38.48 workmonitor.cpp
67:38.48
67:38.48 c:\mozilla-source\mozilla-central\obj-i686-pc-mingw32\dist\stl_wrappers
\xutility(36) : fatal error C1189: #error :  "STL code can only be used with inf
allible ::operator new()"
67:38.48
67:38.49 c:\mozilla-source\mozilla-central\config\rules.mk:1151:0: command 'c:/m
ozilla-source/mozilla-central/obj-i686-pc-mingw32/_virtualenv/Scripts/python.exe
 -O c:/mozilla-source/mozilla-central/build/cl.py cl -Foworkmonitor.obj -c -D_HA
S_EXCEPTIONS=0 -I../../../dist/stl_wrappers  -DUNICODE -D_UNICODE -DNO_NSPR_10_S
UPPORT -DNS_NO_XPCOM -Ic:/mozilla-source/mozilla-central/toolkit/xre -Ic:/mozill
a-source/mozilla-central/toolkit/mozapps/update/common  -Ic:/mozilla-source/mozi
lla-central/toolkit/components/maintenanceservice -I. -I../../../dist/include  -
Ic:/mozilla-source/mozilla-central/obj-i686-pc-mingw32/dist/include/nspr -Ic:/mo
zilla-source/mozilla-central/obj-i686-pc-mingw32/dist/include/nss        -wd4099
 -TP -nologo -W3 -Gy -Fdgenerated.pdb -wd4251 -wd4244 -wd4345 -wd4351 -wd4482 -w
d4800 -wd4819 -we4553 -GR-  -DNDEBUG -DTRIMMED -Zi -UDEBUG -DNDEBUG -O1 -Oy -MT
           -FI ../../../dist/include/mozilla-config.h -DMOZILLA_CLIENT  c:/mozil
la-source/mozilla-central/toolkit/components/maintenanceservice/workmonitor.cpp'
 failed, return code 2
67:38.49 <maintenanceservice.exe>: Found error
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.