X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0475aefcb4d102151bab2b415b20d446b507cd38..074ec0b565fc7bd09a9aca87b669d106fd962289:/tests/hashes/hashes.cpp?ds=inline diff --git a/tests/hashes/hashes.cpp b/tests/hashes/hashes.cpp index a9930a3209..e2a0f6bb3b 100644 --- a/tests/hashes/hashes.cpp +++ b/tests/hashes/hashes.cpp @@ -473,6 +473,12 @@ void HashesTestCase::LLongHashMapTest() { HashMapTest(); } void HashesTestCase::ULLongHashMapTest() { HashMapTest(); } #endif +#ifdef __VISUALC__ + #if __VISUALC__ <= 1200 + #pragma warning(disable:4284) // operator->() returns a non-UDT + #endif +#endif // __VISUALC__ + // test compilation of basic set types WX_DECLARE_HASH_SET( int*, wxPointerHash, wxPointerEqual, myPtrHashSet ); WX_DECLARE_HASH_SET( long, wxIntegerHash, wxIntegerEqual, myLongHashSet );