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

Daniel Dunbar daniel at zuster.org
Tue Sep 22 17:32:30 CDT 2009


Fixed, I hope? Sorry, that was a total thinko.

 - Daniel

On Tue, Sep 22, 2009 at 8:16 AM, Mikhail Glushenkov <foldr at codedgers.com> wrote:
> 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'
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



More information about the llvm-commits mailing list