diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-12-24 08:14:31 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-12-24 21:11:40 +0200 |
commit | 6791f1d54e8b8f373078ce66885dbc2bfafd9a41 (patch) | |
tree | e45e7fb946e2c8ea3c19ea41a418cf1bf02e7b29 /cli_ure/source/climaker/climaker_app.cxx | |
parent | ba6c014d9c3e2267cfa08e753ea7ba651a03f2fe (diff) |
WaE: C4538: const/volatile qualifiers on this type are not supported
Disale warning C4538 in two places where apprently that warning is
generate for some bogus reason.
Change-Id: I93be435b3ce3cb8ca72535416511c793c12bc76c
Diffstat (limited to 'cli_ure/source/climaker/climaker_app.cxx')
-rw-r--r-- | cli_ure/source/climaker/climaker_app.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli_ure/source/climaker/climaker_app.cxx b/cli_ure/source/climaker/climaker_app.cxx index ba56b35fc27e..949ab220346c 100644 --- a/cli_ure/source/climaker/climaker_app.cxx +++ b/cli_ure/source/climaker/climaker_app.cxx @@ -572,10 +572,18 @@ SAL_IMPLEMENT_MAIN() // app domain ::System::AppDomain ^ current_appdomain = ::System::AppDomain::CurrentDomain; + +// Weird warning from this statement +// warning C4538: 'cli::array<Type> ^' : const/volatile qualifiers on this type are not supported +// Could be a compiler bug, says http://stackoverflow.com/questions/12151060/seemingly-inappropriate-compilation-warning-with-c-cli +#pragma warning (push) +#pragma warning (disable: 4538) // target assembly Emit::AssemblyBuilder ^ assembly_builder = current_appdomain->DefineDynamicAssembly( assembly_name, Emit::AssemblyBuilderAccess::Save, output_dir ); +#pragma warning (pop) + if (product.getLength() != 0) { array< ::System::Type^>^ params = gcnew array< ::System::Type^> (1); |