Windows: Fix undefined symbols introduced in 0d50cea. clang::LangOptions::setStackProtector(SSPStrong) requires bufferoverflowu.lib.
This commit is contained in:
parent
4b6ae92419
commit
354b080f0f
@ -352,7 +352,9 @@ namespace {
|
||||
Opts.RTTIData = 0;
|
||||
Opts.setDefaultCallingConv(clang::LangOptions::DCC_CDecl);
|
||||
#ifdef _DEBUG
|
||||
Opts.setStackProtector(clang::LangOptions::SSPStrong);
|
||||
// FIXME: This requires bufferoverflowu.lib, but adding:
|
||||
// #pragma comment(lib, "bufferoverflowu.lib") still gives errors!
|
||||
// Opts.setStackProtector(clang::LangOptions::SSPStrong);
|
||||
#endif
|
||||
#else
|
||||
Opts.Exceptions = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user