DBG+EXE+LAUNCHER+BRIDGE: remove _CRT_SECURE_NO_WARNINGS
This commit is contained in:
parent
e6a6d789e6
commit
57235b2f24
|
@ -94,7 +94,7 @@
|
|||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>BUILD_BRIDGE;WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>BUILD_BRIDGE;WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
@ -110,7 +110,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>BUILD_BRIDGE;WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>BUILD_BRIDGE;WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
@ -126,7 +126,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>BUILD_BRIDGE;WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>BUILD_BRIDGE;WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
@ -140,7 +140,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>BUILD_BRIDGE;WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>BUILD_BRIDGE;WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
|
|
@ -135,7 +135,7 @@ static bool _getcmdline(char* cmd_line, size_t* cbsize)
|
|||
if(!cmd_line && cbsize)
|
||||
*cbsize = strlen(cmdline) + sizeof(char);
|
||||
else if(cmd_line)
|
||||
strcpy(cmd_line, cmdline);
|
||||
memcpy(cmd_line, cmdline, strlen(cmdline) + 1);
|
||||
efree(cmdline, "_getcmdline:cmdline");
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -1013,19 +1013,20 @@ extern "C" DLL_EXPORT duint _dbg_sendmessage(DBGMSG type, void* param1, void* pa
|
|||
dbgclearignoredexceptions();
|
||||
if(BridgeSettingGet("Exceptions", "IgnoreRange", settingText.data()))
|
||||
{
|
||||
auto entry = strtok(settingText.data(), ",");
|
||||
char* context = nullptr;
|
||||
auto entry = strtok_s(settingText.data(), ",", &context);
|
||||
while(entry)
|
||||
{
|
||||
unsigned long start;
|
||||
unsigned long end;
|
||||
if(sscanf(entry, "%08X-%08X", &start, &end) == 2 && start <= end)
|
||||
if(sscanf_s(entry, "%08X-%08X", &start, &end) == 2 && start <= end)
|
||||
{
|
||||
ExceptionRange range;
|
||||
range.start = start;
|
||||
range.end = end;
|
||||
dbgaddignoredexception(range);
|
||||
}
|
||||
entry = strtok(nullptr, ",");
|
||||
entry = strtok_s(nullptr, ",", &context);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -188,36 +188,6 @@ bool scmp(const char* a, const char* b)
|
|||
return !_stricmp(a, b);
|
||||
}
|
||||
|
||||
/**
|
||||
\brief Formats a string to hexadecimal format (removes all non-hex characters).
|
||||
\param [in,out] String to format.
|
||||
*/
|
||||
void formathex(char* string)
|
||||
{
|
||||
int len = (int)strlen(string);
|
||||
_strupr(string);
|
||||
Memory<char*> new_string(len + 1, "formathex:new_string");
|
||||
for(int i = 0, j = 0; i < len; i++)
|
||||
if(isxdigit(string[i]))
|
||||
j += sprintf(new_string() + j, "%c", string[i]);
|
||||
strcpy_s(string, len + 1, new_string());
|
||||
}
|
||||
|
||||
/**
|
||||
\brief Formats a string to decimal format (removed all non-numeric characters).
|
||||
\param [in,out] String to format.
|
||||
*/
|
||||
void formatdec(char* string)
|
||||
{
|
||||
int len = (int)strlen(string);
|
||||
_strupr(string);
|
||||
Memory<char*> new_string(len + 1, "formatdec:new_string");
|
||||
for(int i = 0, j = 0; i < len; i++)
|
||||
if(isdigit(string[i]))
|
||||
j += sprintf(new_string() + j, "%c", string[i]);
|
||||
strcpy_s(string, len + 1, new_string());
|
||||
}
|
||||
|
||||
/**
|
||||
\brief Queries if a given file exists.
|
||||
\param file Path to the file to check (UTF-8).
|
||||
|
|
|
@ -55,8 +55,6 @@ void json_free(void* ptr);
|
|||
int memleaks();
|
||||
void setalloctrace(const char* file);
|
||||
bool scmp(const char* a, const char* b);
|
||||
void formathex(char* string);
|
||||
void formatdec(char* string);
|
||||
bool FileExists(const char* file);
|
||||
bool DirExists(const char* dir);
|
||||
bool GetFileNameFromHandle(HANDLE hFile, char* szFileName);
|
||||
|
|
|
@ -79,7 +79,7 @@ bool cbDebugSetBPX(int argc, char* argv[]) //bp addr [,name [,type]]
|
|||
strcpy_s(argtype, argname);
|
||||
*argname = 0;
|
||||
}
|
||||
_strlwr(argtype);
|
||||
_strlwr_s(argtype);
|
||||
duint addr = 0;
|
||||
if(!valfromstring(argaddr, &addr))
|
||||
{
|
||||
|
@ -1340,16 +1340,16 @@ bool cbDebugSetBPGoto(int argc, char* argv[])
|
|||
return false;
|
||||
}
|
||||
char cmd[deflen];
|
||||
_snprintf(cmd, sizeof(cmd), "SetBreakpointCondition %s, 0", argv[1]);
|
||||
sprintf_s(cmd, "SetBreakpointCondition %s, 0", argv[1]);
|
||||
if(!cmddirectexec(cmd))
|
||||
return false;
|
||||
_snprintf(cmd, sizeof(cmd), "SetBreakpointCommand %s, \"bpgoto(%s)\"", argv[1], argv[2]);
|
||||
sprintf_s(cmd, "SetBreakpointCommand %s, \"bpgoto(%s)\"", argv[1], argv[2]);
|
||||
if(!cmddirectexec(cmd))
|
||||
return false;
|
||||
_snprintf(cmd, sizeof(cmd), "SetBreakpointCommandCondition %s, 1", argv[1]);
|
||||
sprintf_s(cmd, "SetBreakpointCommandCondition %s, 1", argv[1]);
|
||||
if(!cmddirectexec(cmd))
|
||||
return false;
|
||||
_snprintf(cmd, sizeof(cmd), "SetBreakpointFastResume %s, 0", argv[1]);
|
||||
sprintf_s(cmd, "SetBreakpointFastResume %s, 0", argv[1]);
|
||||
if(!cmddirectexec(cmd))
|
||||
return false;
|
||||
return true;
|
||||
|
|
|
@ -160,8 +160,8 @@ bool cbInstrFindAll(int argc, char* argv[])
|
|||
for(size_t j = 0, k = 0; j < printData.size(); j++)
|
||||
{
|
||||
if(j)
|
||||
k += sprintf(msg + k, " ");
|
||||
k += sprintf(msg + k, "%.2X", printData()[j]);
|
||||
k += sprintf_s(msg + k, sizeof(msg) - k, " ");
|
||||
k += sprintf_s(msg + k, sizeof(msg) - k, "%.2X", printData()[j]);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -264,8 +264,8 @@ bool cbInstrFindAllMem(int argc, char* argv[])
|
|||
for(size_t j = 0, k = 0; j < printData.size(); j++)
|
||||
{
|
||||
if(j)
|
||||
k += sprintf(msg + k, " ");
|
||||
k += sprintf(msg + k, "%.2X", printData()[j]);
|
||||
k += sprintf_s(msg + k, sizeof(msg) - k, " ");
|
||||
k += sprintf_s(msg + k, sizeof(msg) - k, "%.2X", printData()[j]);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
@ -956,7 +956,7 @@ static BOOL CALLBACK SymRegisterCallbackProc64(HANDLE, ULONG ActionCode, ULONG64
|
|||
suspress = true;
|
||||
zerobar = true;
|
||||
}
|
||||
else if(sscanf(text, "%*s %d percent", &percent) == 1 || sscanf(text, "%d percent", &percent) == 1)
|
||||
else if(sscanf_s(text, "%*s %d percent", &percent) == 1 || sscanf_s(text, "%d percent", &percent) == 1)
|
||||
{
|
||||
GuiSymbolSetProgress(percent);
|
||||
suspress = true;
|
||||
|
|
|
@ -8,7 +8,7 @@ static JSON_INLINE
|
|||
json_t* json_hex(unsigned json_int_t value)
|
||||
{
|
||||
char hexvalue[20];
|
||||
sprintf(hexvalue, "0x%llX", value);
|
||||
sprintf_s(hexvalue, "0x%llX", value);
|
||||
return json_string(hexvalue);
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,6 @@ unsigned json_int_t json_hex_value(const json_t* hex)
|
|||
hexvalue = json_string_value(hex);
|
||||
if(!hexvalue)
|
||||
return 0;
|
||||
sscanf(hexvalue, "0x%llX", &ret);
|
||||
sscanf_s(hexvalue, "0x%llX", &ret);
|
||||
return ret;
|
||||
}
|
|
@ -171,7 +171,7 @@ bool dbggetdefjit(char* jit_entry)
|
|||
wchar_t wszPath[MAX_PATH] = L"";
|
||||
GetModuleFileNameW(GetModuleHandleW(NULL), wszPath, MAX_PATH);
|
||||
strcpy_s(&path[1], JIT_ENTRY_DEF_SIZE - 1, StringUtils::Utf16ToUtf8(wszPath).c_str());
|
||||
strcat(path, ATTACH_CMD_LINE);
|
||||
strcat_s(path, ATTACH_CMD_LINE);
|
||||
strcpy_s(jit_entry, JIT_ENTRY_DEF_SIZE, path);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@ void MemUpdateMap()
|
|||
auto & currentPage = pageVector.at(i);
|
||||
if(!currentPage.info[0] || (scmp(curMod, currentPage.info) && !bListAllPages)) //there is a module
|
||||
continue; //skip non-modules
|
||||
strcpy(curMod, pageVector.at(i).info);
|
||||
strcpy_s(curMod, pageVector.at(i).info);
|
||||
if(!ModBaseFromName(currentPage.info))
|
||||
continue;
|
||||
auto base = duint(currentPage.mbi.AllocationBase);
|
||||
|
|
|
@ -163,7 +163,7 @@ bool ModLoad(duint Base, duint Size, const char* FullPath)
|
|||
|
||||
// Dir <- lowercase(file path)
|
||||
strcpy_s(dir, FullPath);
|
||||
_strlwr(dir);
|
||||
_strlwr_s(dir);
|
||||
|
||||
// Find the last instance of a path delimiter (slash)
|
||||
char* fileStart = strrchr(dir, '\\');
|
||||
|
|
|
@ -90,9 +90,9 @@ bool pluginload(const char* pluginName, bool loadall)
|
|||
}
|
||||
char searchName[deflen] = "";
|
||||
#ifdef _WIN64
|
||||
sprintf(searchName, "%s\\%s", StringUtils::Utf16ToUtf8(pluginDirectory.c_str()).c_str(), name);
|
||||
sprintf_s(searchName, "%s\\%s", StringUtils::Utf16ToUtf8(pluginDirectory.c_str()).c_str(), name);
|
||||
#else
|
||||
sprintf(searchName, "%s\\%s", StringUtils::Utf16ToUtf8(pluginDirectory.c_str()).c_str(), name);
|
||||
sprintf_s(searchName, "%s\\%s", StringUtils::Utf16ToUtf8(pluginDirectory.c_str()).c_str(), name);
|
||||
#endif // _WIN64
|
||||
|
||||
//Check to see if this plugin is already loaded
|
||||
|
@ -398,9 +398,9 @@ void pluginloadall(const char* pluginDir)
|
|||
SetCurrentDirectoryW(pluginDirectory.c_str());
|
||||
char searchName[deflen] = "";
|
||||
#ifdef _WIN64
|
||||
sprintf(searchName, "%s\\*.dp64", pluginDir);
|
||||
sprintf_s(searchName, "%s\\*.dp64", pluginDir);
|
||||
#else
|
||||
sprintf(searchName, "%s\\*.dp32", pluginDir);
|
||||
sprintf_s(searchName, "%s\\*.dp32", pluginDir);
|
||||
#endif // _WIN64
|
||||
WIN32_FIND_DATAW foundData;
|
||||
HANDLE hSearch = FindFirstFileW(StringUtils::Utf8ToUtf16(searchName).c_str(), &foundData);
|
||||
|
|
|
@ -37,7 +37,7 @@ static SCRIPTBRANCHTYPE scriptgetbranchtype(const char* text)
|
|||
char newtext[MAX_SCRIPT_LINE_SIZE] = "";
|
||||
strcpy_s(newtext, StringUtils::Trim(text).c_str());
|
||||
if(!strstr(newtext, " "))
|
||||
strcat(newtext, " ");
|
||||
strcat_s(newtext, " ");
|
||||
if(!strncmp(newtext, "jmp ", 4) || !strncmp(newtext, "goto ", 5))
|
||||
return scriptjmp;
|
||||
else if(!strncmp(newtext, "jbe ", 4) || !strncmp(newtext, "ifbe ", 5) || !strncmp(newtext, "ifbeq ", 6) || !strncmp(newtext, "jle ", 4) || !strncmp(newtext, "ifle ", 5) || !strncmp(newtext, "ifleq ", 6))
|
||||
|
@ -133,7 +133,7 @@ static bool scriptcreatelinemap(const char* filename)
|
|||
linemap.push_back(entry);
|
||||
}
|
||||
else
|
||||
j += sprintf(temp + j, "%c", filedata[i]);
|
||||
j += sprintf_s(temp + j, sizeof(temp) - j, "%c", filedata[i]);
|
||||
}
|
||||
if(*temp)
|
||||
{
|
||||
|
@ -209,14 +209,14 @@ static bool scriptcreatelinemap(const char* filename)
|
|||
else if(cur.raw[rawlen - 1] == ':') //label
|
||||
{
|
||||
cur.type = linelabel;
|
||||
sprintf(cur.u.label, "l %.*s", rawlen - 1, cur.raw); //create a fake command for formatting
|
||||
sprintf_s(cur.u.label, "l %.*s", rawlen - 1, cur.raw); //create a fake command for formatting
|
||||
strcpy_s(cur.u.label, StringUtils::Trim(cur.u.label).c_str());
|
||||
strcpy_s(temp, cur.u.label + 2);
|
||||
strcpy_s(cur.u.label, temp); //remove fake command
|
||||
if(!*cur.u.label || !strcmp(cur.u.label, "\"\"")) //no label text
|
||||
{
|
||||
char message[256] = "";
|
||||
sprintf(message, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "Empty label detected on line %d!")), i + 1);
|
||||
sprintf_s(message, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "Empty label detected on line %d!")), i + 1);
|
||||
GuiScriptError(0, message);
|
||||
std::vector<LINEMAPENTRY>().swap(linemap);
|
||||
return false;
|
||||
|
@ -225,7 +225,7 @@ static bool scriptcreatelinemap(const char* filename)
|
|||
if(foundlabel) //label defined twice
|
||||
{
|
||||
char message[256] = "";
|
||||
sprintf(message, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "Duplicate label \"%s\" detected on lines %d and %d!")), cur.u.label, foundlabel, i + 1);
|
||||
sprintf_s(message, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "Duplicate label \"%s\" detected on lines %d and %d!")), cur.u.label, foundlabel, i + 1);
|
||||
GuiScriptError(0, message);
|
||||
std::vector<LINEMAPENTRY>().swap(linemap);
|
||||
return false;
|
||||
|
@ -253,7 +253,7 @@ static bool scriptcreatelinemap(const char* filename)
|
|||
|
||||
//append the comment to the raw line again
|
||||
if(*line_comment)
|
||||
sprintf(cur.raw + rawlen, "\1%s", line_comment);
|
||||
sprintf_s(cur.raw + rawlen, sizeof(cur.raw) - rawlen, "\1%s", line_comment);
|
||||
linemap.at(i) = cur;
|
||||
}
|
||||
linemapsize = (int)linemap.size();
|
||||
|
@ -266,7 +266,7 @@ static bool scriptcreatelinemap(const char* filename)
|
|||
if(!labelline) //invalid branch label
|
||||
{
|
||||
char message[256] = "";
|
||||
sprintf(message, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "Invalid branch label \"%s\" detected on line %d!")), currentLine.u.branch.branchlabel, i + 1);
|
||||
sprintf_s(message, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "Invalid branch label \"%s\" detected on line %d!")), currentLine.u.branch.branchlabel, i + 1);
|
||||
GuiScriptError(0, message);
|
||||
std::vector<LINEMAPENTRY>().swap(linemap);
|
||||
return false;
|
||||
|
|
|
@ -157,7 +157,7 @@ static unsigned int getArgNumType(const String & formatString, ValueType & type)
|
|||
String complexArgs;
|
||||
auto expression = getArgExpressionType(formatString, type, complexArgs);
|
||||
unsigned int argnum = 0;
|
||||
if(!expression || sscanf(expression, "%u", &argnum) != 1)
|
||||
if(!expression || sscanf_s(expression, "%u", &argnum) != 1)
|
||||
type = ValueType::Unknown;
|
||||
return argnum;
|
||||
}
|
||||
|
|
|
@ -1940,9 +1940,9 @@ bool valfromstring_noexpr(const char* string, duint* value, bool silent, bool ba
|
|||
else if(strstr(string, "sub_") == string) //then come sub_ functions
|
||||
{
|
||||
#ifdef _WIN64
|
||||
bool result = sscanf(string, "sub_%llX", value) == 1;
|
||||
bool result = sscanf_s(string, "sub_%llX", value) == 1;
|
||||
#else //x86
|
||||
bool result = sscanf(string, "sub_%X", value) == 1;
|
||||
bool result = sscanf_s(string, "sub_%X", value) == 1;
|
||||
#endif //_WIN64
|
||||
duint start;
|
||||
return result && FunctionGet(*value, &start, nullptr) && *value == start;
|
||||
|
@ -2555,7 +2555,7 @@ bool valtostring(const char* string, duint value, bool silent)
|
|||
int len = (int)strlen(string);
|
||||
Memory<char*> regName(len + 1, "valtostring:regname");
|
||||
strcpy_s(regName(), len + 1, string);
|
||||
_strlwr(regName());
|
||||
_strlwr_s(regName(), regName.size());
|
||||
if(strstr(regName(), "ip"))
|
||||
{
|
||||
auto cip = GetContextDataEx(hActiveThread, UE_CIP);
|
||||
|
|
|
@ -399,7 +399,7 @@
|
|||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;BUILD_DBG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;BUILD_DBG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
@ -424,7 +424,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;BUILD_DBG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;BUILD_DBG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
@ -445,7 +445,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;BUILD_DBG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;BUILD_DBG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
@ -472,7 +472,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;BUILD_DBG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;BUILD_DBG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
@ -143,7 +143,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
@ -162,7 +162,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
@ -180,7 +180,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
@ -87,7 +87,7 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
|
|
Loading…
Reference in New Issue