From 03306860d297ca856bef3a610570f95a03a51159 Mon Sep 17 00:00:00 2001 From: Eric Frias Date: Tue, 13 Oct 2015 09:13:16 -0400 Subject: [PATCH] win32 compile fix (#warning) --- libraries/chain/db_init.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libraries/chain/db_init.cpp b/libraries/chain/db_init.cpp index 04d454df..5bf5bd5c 100644 --- a/libraries/chain/db_init.cpp +++ b/libraries/chain/db_init.cpp @@ -493,7 +493,11 @@ void database::init_genesis(const genesis_state_type& genesis_state) a.options.description = asset.description; a.precision = asset.precision; string issuer_name = asset.issuer_name; -#warning Remove this check doing real network, change BitAsset owners to be committee-account in genesis. +#ifdef _MSC_VER +# pragma message ("WARNING: Remove this check doing real network, change BitAsset owners to be committee-account in genesis.") +#else +# warning Remove this check doing real network, change BitAsset owners to be committee-account in genesis. +#endif if( issuer_name == "witness-account" ) issuer_name = "committee-account"; a.issuer = get_account_id(issuer_name);