]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/any.h
Implement monitoring of file descriptors in wxMotif event loop.
[wxWidgets.git] / include / wx / any.h
index 6e3877253283904337e912ebe4835c86f94808f0..2651ce219ce42684059fc19fd44f910507992bc3 100644 (file)
@@ -912,6 +912,8 @@ public:
     WXANY_IMPLEMENT_INT_EQ_OP(wxLongLong_t, wxULongLong_t)
 #endif
 
+    wxGCC_WARNING_SUPPRESS(float-equal)
+
     bool operator==(float value) const
     {
         if ( !wxAnyValueTypeImpl<float>::IsSameClass(m_type) )
@@ -932,6 +934,8 @@ public:
                 (wxAnyValueTypeImpl<double>::GetValue(m_buffer));
     }
 
+    wxGCC_WARNING_RESTORE(float-equal)
+
     bool operator==(bool value) const
     {
         if ( !wxAnyValueTypeImpl<bool>::IsSameClass(m_type) )