[llvm-commits] [llvm] r82537 - in /llvm/trunk: lib/System/Win32/Signals.inc utils/lit/TestingConfig.py

Mikhail Glushenkov foldr at codedgers.com
Tue Sep 22 08:16:06 PDT 2009


Hi,

Daniel Dunbar <daniel at ...> writes:

> 
> Author: ddunbar
> Date: Tue Sep 22 04:50:28 2009
> New Revision: 82537
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=82537&view=rev
> Log:
> Add a magic LLVM_DISABLE_CRT_DEBUG environment variable which we check in
RegisterHandler and use to
> disable the Win32 crash dialogs. These are a major blocker to any kind of
automated testing.

This breaks the MinGW build:

In file included from c:/code/codedgers/llvm/lib/System/Signals.cpp:33:
c:/code/codedgers/llvm/lib/System/Win32/Signals.inc: In function `int
llvm::CRTReportHook(int, char*, int*)':
c:/code/codedgers/llvm/lib/System/Win32/Signals.inc:69: error: `_CRT_ASSERT' was
not declared in this scope
c:/code/codedgers/llvm/lib/System/Win32/Signals.inc:75: error: `_CRT_ERROR' was
not declared in this scope
c:/code/codedgers/llvm/lib/System/Win32/Signals.inc:81: error: `_CRT_WARN' was
not declared in this scope
c:/code/codedgers/llvm/lib/System/Win32/Signals.inc:69: warning: unused variable
'_CRT_ASSERT'
c:/code/codedgers/llvm/lib/System/Win32/Signals.inc:75: warning: unused variable
'_CRT_ERROR'
c:/code/codedgers/llvm/lib/System/Win32/Signals.inc:81: warning: unused variable
'_CRT_WARN'
c:/code/codedgers/llvm/lib/System/Win32/Signals.inc: In function `void
llvm::RegisterHandler()':
c:/code/codedgers/llvm/lib/System/Win32/Signals.inc:110: error:
`_CrtSetReportHook' was not declared in this scope
c:/code/codedgers/llvm/lib/System/Win32/Signals.inc:110: warning: unused
variable '_CrtSetReportHook'




More information about the llvm-commits mailing list