#4738: Use `#ifdef DEBUG` instead of `#if DEBUG`
-------------------------------------------------+-------------------------
Reporter: pastdue | Owner:
Type: patch (an actual patch, not | Status: new
a request for one) | Milestone: unspecified
Priority: normal | Version: git/master
Component: Build System Issues |
Operating System: All/Non-Specific |
-------------------------------------------------+-------------------------
Depending on settings / compiler, `#if DEBUG` can result in a compiler
error.
(Example: `fatal error C1017: invalid integer constant expression`)
Use `#ifdef DEBUG` instead.
GitHub PR: https://github.com/Warzone2100/warzone2100/pull/116
Patch: https://github.com/Warzone2100/warzone2100/pull/116.patch
--
Ticket URL: <http://developer.wz2100.net/ticket/4738>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project