Add wxGCC_WARNING_{SUPPRESS,RESTORE} macros and use them for -Wfloat-equal.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 28 Dec 2012 00:44:01 +0000 (00:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 28 Dec 2012 00:44:01 +0000 (00:44 +0000)
commit33f9dbda891b14ea52c7526eede0cce422ce7c4c
tree4883da806d92512e4b2088183aed9205e5ed9815
parente14c510570dfb0ae962136e78f068a6899d71105
Add wxGCC_WARNING_{SUPPRESS,RESTORE} macros and use them for -Wfloat-equal.

Suppress the warnings about comparing floating point values for equality in
wxWidgets headers when the user code is compiled with -Wfloat-equal (at least
when using g++ 4.6 or later).

Closes #14895.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/any.h
include/wx/defs.h
include/wx/math.h