Jeff,
Apparently NAnt is not passing the option on to the compiler. Can you provide a repro for this ?
Thanks,
Gert
----- Original Message ----- From: "Jeff McMahon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 13, 2004 11:09 PM
Subject: [Nant-users] Solution Task and C++ Project configuration -- EHsc
Hi all,
I am using the solution task to build my c++ project. I am getting the
following output when verbose="true" for the solution task. There are 100's
of the C4530 warnings even though I have set the /EHsc option within the
IDE. Also, when I review the commandline compile settings I see that /EHsc
is present.
/O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /EHsc /MD /GS /GR /Fo"Release/" /Fd"Release/vc70.pdb" /W3 /nologo /c /Wp64 /Zi /TP
Anyone have ideas? Is there some kind of caching for the solution file parsing routines? etc...
Thanks in advance,
Jeff
[solution] Fixing up references...
[solution] Building 'Money2Lib' [release] ...
[cl] 'D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\Money2Lib\Release\Money.obj' does
not exist, rec
ompiling.
[cl] Compiling 1 files to 'D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\Money2Lib\Release'.
[cl] Contents of
C:\DOCUME~1\JEFF~1.TOO\LOCALS~1\Temp\tmp131E.tmp.
[cl] /c
[cl] /Fd"D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\Money2Lib\Release/"
[cl] /Fo"D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\Money2Lib\Release/"
[cl] ".\Money.cpp"
[cl] /D "_MBCS"
[cl]
[cl] Starting 'cl
(@"C:\DOCUME~1\JEFF~1.TOO\LOCALS~1\Temp\tmp131E.tmp" /D WIN32 /D NDEBUG /D
_LIB /W3 /MD /Zi /no
logo)' in 'D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\Money2Lib'
[cl] Money.cpp
[lib] Combining 1 files to 'D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\Money2Lib\Release\Money2Lib
.lib'.
[lib] Contents of
C:\DOCUME~1\JEFF~1.TOO\LOCALS~1\Temp\tmp131F.tmp.
[lib] /OUT:"D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\Money2Lib\Release\Money2Lib.lib"
[lib] "D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\Money2Lib\Release\Money.obj"
[lib] /nologo
[lib]
[lib] Starting 'lib
(@"C:\DOCUME~1\JEFF~1.TOO\LOCALS~1\Temp\tmp131F.tmp")' in 'D:\Unit Testing
Files\cppUnit\cppun
it-1.10.2\examples\Test\Money2Lib'
[solution] Fixing up references...
[solution] Building 'MoneyUnitTests' [release] ...
[cl] 'D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\MoneyUnitTests\Release\stdafx.obj
' does not exis
t, recompiling.
[cl] Compiling 1 files to 'D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\MoneyUnitTests\Release'.
[cl] Contents of
C:\DOCUME~1\JEFF~1.TOO\LOCALS~1\Temp\tmp1320.tmp.
[cl] /c
[cl] /Fd"D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\MoneyUnitTests\Release/"
[cl] /Fo"D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\MoneyUnitTests\Release/"
[cl] ".\stdafx.cpp"
[cl] /D "_MBCS"
[cl]
[cl] Starting 'cl
(@"C:\DOCUME~1\JEFF~1.TOO\LOCALS~1\Temp\tmp1320.tmp" /D WIN32 /D NDEBUG /D
_CONSOLE /W3 /MD /Zi
/Yc"StdAfx.h" /Fp"Release/MoneyUnitTests.pch" /nologo)' in 'D:\Unit Testing
Files\cppUnit\cppunit-1.10.2\examples\Test\MoneyUnitTes
ts'
[cl] stdafx.cpp
[cl] C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(574) : warning C4530: C++ exception h
andler used, but unwind semantics are not enabled. Specify /EHsc
[cl] C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\istream(828) : warning C4530: C++ exception h
andler used, but unwind semantics are not enabled. Specify /EHsc
[cl] C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\istream(1064) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
[cl] C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(479) : warning C4530: C++ exception h
andler used, but unwind semantics are not enabled. Specify /EHsc
------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users