mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +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:
parent
38fd81df2d
commit
85edc7a005
10 changed files with 19 additions and 27 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue