Fixed VS2013 projects and compile errors.

Enable and fix addition warnings (-Wextra).
Disable unknown pragma warning (avoids messy wrapping pragmas in compiler guards).
Tidy up some of the waring suppression for 3rd part libraries by wrapping with a header.
This commit is contained in:
Tim Hughes 2014-03-05 16:32:37 +00:00
parent a02ab99810
commit 7372188179
4 changed files with 4 additions and 8 deletions

View File

@ -21,8 +21,7 @@
*/
#include <fstream>
#include "../json_spirit/json_spirit_reader_template.h"
#include "../json_spirit/json_spirit_writer_template.h"
#include "JsonSpiritHeaders.h"
#include "TrieCommon.h"
#include "Log.h"
using namespace std;

View File

@ -21,8 +21,7 @@
*/
#include <fstream>
#include "../json_spirit/json_spirit_reader_template.h"
#include "../json_spirit/json_spirit_writer_template.h"
#include "JsonSpiritHeaders.h"
#include <Log.h>
#include <RLP.h>
using namespace std;

View File

@ -21,9 +21,8 @@
*/
#include <fstream>
#include "../json_spirit/json_spirit_reader_template.h"
#include "../json_spirit/json_spirit_writer_template.h"
#include <random>
#include "JsonSpiritHeaders.h"
#include <TrieDB.h>
#include "TrieHash.h"
#include "MemTrie.h"

3
vm.cpp
View File

@ -21,13 +21,12 @@
*/
#include <fstream>
#include "../json_spirit/json_spirit_reader_template.h"
#include "../json_spirit/json_spirit_writer_template.h"
#include <ExtVMFace.h>
#include <Transaction.h>
#include <VM.h>
#include <Log.h>
#include <Instruction.h>
#include "JsonSpiritHeaders.h"
using namespace std;
using namespace json_spirit;
using namespace eth;