diff options
author | Praetonus <praetonus@gmail.com> | 2014-05-14 16:42:34 +0200 |
---|---|---|
committer | Praetonus <praetonus@gmail.com> | 2014-05-15 21:32:47 +0200 |
commit | f296095191c7b5c6b10f79c2b1433dc227a462f5 (patch) | |
tree | 2be2a3ee995851f2212c985c358e96c032a9096d /dep/g3dlite/include/G3D/debugAssert.h | |
parent | 9d760098a5a1bf5203fce8e3ba7b462a7885ee75 (diff) |
Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic.
-Fix warnings from -Woverflow on implicit constant conversion.
-Fix warnings from -pedantic.
-Fix warnings from -pedantic.
-Fix warnings from -Wformat.
Two minor changes in addition :
-Replace a defined value equal to 2^31 - 1 by std::numeric_limits<int>::max().
-Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc.
Diffstat (limited to 'dep/g3dlite/include/G3D/debugAssert.h')
-rw-r--r-- | dep/g3dlite/include/G3D/debugAssert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/g3dlite/include/G3D/debugAssert.h b/dep/g3dlite/include/G3D/debugAssert.h index edff671061d..51b16ebbe17 100644 --- a/dep/g3dlite/include/G3D/debugAssert.h +++ b/dep/g3dlite/include/G3D/debugAssert.h @@ -228,6 +228,6 @@ void _releaseInputGrab_(); @internal*/ void _restoreInputGrab_(); -}; }; // namespace +} } // namespace #endif |