summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-28 23:50:14 -0800
committerJames Cook <james@lindenlab.com>2009-11-28 23:50:14 -0800
commit491cbc5de6eaa960ca582ac0fcc064c3c8bac08c (patch)
tree01b78e369850677f2bde0d5197ea9cfa33c132db /indra
parente9b07c480abdc130fcacbbb75872edef71d0826b (diff)
Suppress MSVC warning about extern template for linker optimization
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/llpreprocessor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llpreprocessor.h b/indra/llcommon/llpreprocessor.h
index bb3301df9f..da03230b47 100644
--- a/indra/llcommon/llpreprocessor.h
+++ b/indra/llcommon/llpreprocessor.h
@@ -123,6 +123,8 @@
#pragma warning( 3 : 4265 ) // "class has virtual functions, but destructor is not virtual"
#pragma warning( 3 : 4266 ) // 'function' : no override available for virtual member function from base 'type'; function is hidden
#pragma warning (disable : 4180) // qualifier applied to function type has no meaning; ignored
+// Linker optimization with "extern template" generates this innocuous warning
+#pragma warning( disable : 4231 ) // nonstandard extension used : 'extern' before template explicit instantiation
#pragma warning( disable : 4284 ) // silly MS warning deep inside their <map> include file
#pragma warning( disable : 4503 ) // 'decorated name length exceeded, name was truncated'. Does not seem to affect compilation.
#pragma warning( disable : 4800 ) // 'BOOL' : forcing value to bool 'true' or 'false' (performance warning)