cl.exe and wxUSE_CRASHREPORT

Daniel C. Bastos dbast0s at yahoo.com.br
Mon Jun 18 14:25:47 PDT 2007


%cl `wx-config --cppflags`  hello.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42
for 80x86 Copyright (C) Microsoft Corporation.  All rights reserved.

hello.cpp
c:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale(326) :
warning C4530: C++ exception handler used, but unwind semantics are not
enabled. Specify /EHsc

c:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale(341) :
warning C4530: C++ exception handler used, but unwind semantics are not
enabled. Specify /EHsc

c:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xlocale(358) :
warning C4530: C++ exception handler used, but unwind semantics are not
enabled. Specify /EHsc

c:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\istream(1075) :
warning C4530: C++ exception handler used, but unwind semantics are not
enabled. Specify /EHsc

c:/wx284u/include/wx-2.8\wx/chkconf.h(90) : fatal error C1189: #error :
"wxUSE_CRASHREPORT must be defined."

%cl
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42
for 80x86 Copyright (C) Microsoft Corporation.  All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]
%

With g++, I have no problems.

%wx-config --selected-config --version-full
2.8.4.0
msw-unicode-release-2.8






More information about the wx-users mailing list