From 6fd27b4af8a802c28743c3d334cf35b1afa2813c Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Wed, 21 Jan 2009 18:07:09 +0000 Subject: Add /nologo to the PCH compilation to suppress Microsoft garp on stderr. --- test/IDL/midl.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/IDL/midl.py b/test/IDL/midl.py index 810edc1..88e0517 100644 --- a/test/IDL/midl.py +++ b/test/IDL/midl.py @@ -44,8 +44,7 @@ test.write('SConstruct',""" import os.path import os -env = Environment(CCFLAGS = ' -nologo ', - CPPPATH = '${TARGET.dir}', +env = Environment(CPPPATH = '${TARGET.dir}', MSVS_USE_MFC_DIRS = 1) Export('env') @@ -75,7 +74,7 @@ local.TypeLibrary('bar.idl') local.SharedLibrary(target = 'bar.dll', source = barsrc, - PCH=local.PCH('BarPCH.cpp')[0], + PCH=local.PCH('BarPCH.cpp', CXXFLAGS='/nologo')[0], PCHSTOP = 'BarPCH.h', register=1) """) -- cgit v0.12