X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56601ff2db94ccc874107eb60c4564ceb47f6d02..558820fd083635d3e1dc026a56b2f14870cb5c38:/include/wx/confbase.h diff --git a/include/wx/confbase.h b/include/wx/confbase.h index 30d436b3e4..9bff8dedb5 100644 --- a/include/wx/confbase.h +++ b/include/wx/confbase.h @@ -185,8 +185,8 @@ public: // no default version since it does not make sense for binary data #endif // wxUSE_BASE64 - // Causes ambiguities in VC++ 6 (at least) -#if (!defined(__VISUALC__) || __VISUALC__ > 1200) + // Causes ambiguities in VC++ 6 and OpenVMS (at least) +#if ( (!defined(__VISUALC__) || __VISUALC__ > 1200) && !defined( __VMS ) && !defined (__DMC__)) // read other types, for which wxFromString is defined template bool Read(const wxString& key, T* value) const @@ -294,8 +294,8 @@ public: bool Write(const wxString& key, float value) { return DoWriteDouble(key, value); } - // Causes ambiguities in VC++ 6 (at least) -#if (!defined(__VISUALC__) || __VISUALC__ > 1200) + // Causes ambiguities in VC++ 6 and OpenVMS (at least) +#if ( (!defined(__VISUALC__) || __VISUALC__ > 1200) && !defined( __VMS ) && !defined (__DMC__)) // for other types, use wxToString() template bool Write(const wxString& key, T const& value)