Disables MSVC build warning C4003 "not enough actual parameters for macro", introduced by changes in Boost 1.57
This was SVN commit r17700.
This commit is contained in:
parent
aa8541e8ce
commit
4bff1ef1a9
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2015 Wildfire Games.
|
||||
/* Copyright (C) 2016 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@ -27,6 +27,11 @@
|
||||
|
||||
// TODO: organisation, documentation, etc
|
||||
|
||||
#ifdef _MSC_VER // (can't use MSC_VERSION here since this file is included by Atlas too)
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4003)
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Initialise some engine code. Must be called before anything else.
|
||||
@ -707,6 +712,11 @@ QUERY(GetSelectedObjectsTemplateNames,
|
||||
);
|
||||
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef MESSAGES_SKIP_SETUP
|
||||
#include "MessagesSetup.h"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user