MSVC: don't try to compile unknown pragma

This commit is contained in:
Frederic Bouvier
2012-01-03 21:20:37 +01:00
parent cc47d33b32
commit d7931a28ce

View File

@@ -18,7 +18,9 @@
#ifndef SGSphere_H
#define SGSphere_H
#pragma GCC diagnostic ignored "-Wuninitialized" SGSphere();
#ifndef _MSC_VER
# pragma GCC diagnostic ignored "-Wuninitialized" SGSphere();
#endif
template<typename T>
class SGSphere {