Do not require ctype/stdio if not needed

This commit is contained in:
Alex Beregszaszi 2018-10-09 19:06:22 +01:00
parent 9e032bff43
commit 6c3d12d85b
5 changed files with 2 additions and 5 deletions

View File

@ -23,7 +23,6 @@
#include <iostream> #include <iostream>
#include <cstdlib> #include <cstdlib>
#include <fstream> #include <fstream>
#include <stdio.h>
#if defined(_WIN32) #if defined(_WIN32)
#include <windows.h> #include <windows.h>
#else #else

View File

@ -26,7 +26,7 @@
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#include <ctype.h> #include <cctype>
#include <algorithm> #include <algorithm>
using namespace std; using namespace std;

View File

@ -20,7 +20,7 @@
* Solidity parser. * Solidity parser.
*/ */
#include <ctype.h> #include <cctype>
#include <vector> #include <vector>
#include <libevmasm/SourceLocation.h> #include <libevmasm/SourceLocation.h>
#include <libsolidity/parsing/Parser.h> #include <libsolidity/parsing/Parser.h>

View File

@ -22,7 +22,6 @@
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/predicate.hpp> #include <boost/algorithm/string/predicate.hpp>
#include <boost/throw_exception.hpp> #include <boost/throw_exception.hpp>
#include <cctype>
#include <fstream> #include <fstream>
#include <memory> #include <memory>
#include <stdexcept> #include <stdexcept>

View File

@ -20,7 +20,6 @@
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/predicate.hpp> #include <boost/algorithm/string/predicate.hpp>
#include <boost/throw_exception.hpp> #include <boost/throw_exception.hpp>
#include <cctype>
#include <fstream> #include <fstream>
#include <memory> #include <memory>
#include <stdexcept> #include <stdexcept>