1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Merging over from /nmap-exp/kris/assert-testing

Ensuring the safety of assert() calls by keeping NDEBUG undefined throughout
Nmap, Nbase and Nsock.

I've tested this on Linux and Windows XP without problems.  On Windows I've
removed the definitions of _DEBUG and NDEBUG from the *.vcproj files.
This commit is contained in:
kris
2008-05-03 17:58:48 +00:00
parent 38fd81df2d
commit 85edc7a005
10 changed files with 19 additions and 27 deletions

View File

@@ -42,7 +42,7 @@
UseUnicodeResponseFiles="false"
AdditionalOptions="/D "_CRT_SECURE_NO_DEPRECATE""
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
PreprocessorDefinitions="WIN32;_LIB"
MinimalRebuild="true"
ExceptionHandling="0"
BasicRuntimeChecks="0"
@@ -114,7 +114,7 @@
UseUnicodeResponseFiles="false"
AdditionalOptions="/D "_CRT_SECURE_NO_DEPRECATE""
WholeProgramOptimization="false"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
PreprocessorDefinitions="WIN32;_LIB"
MinimalRebuild="false"
ExceptionHandling="0"
BasicRuntimeChecks="0"