Patch OPM-Common To Support VS 15 (2017)

Include <cctype> to bring declarations of std::toupper() &c into
scope.  With this patch the application builds on VS 15 (2017)
using MSVC 19.16.27044 on Windows 10 1909.
This commit is contained in:
Bård Skaflestad 2020-11-17 11:25:48 +01:00 committed by Magne Sjaastad
parent bc9a44803e
commit f52cff17ec
4 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,7 @@
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#include <cctype>
#include <iomanip>
#include <iostream>
#include <iterator>

View File

@ -18,6 +18,7 @@
*/
#include <algorithm>
#include <cctype>
#include <climits>
#include <iostream>
#include <iterator>

View File

@ -18,6 +18,7 @@
*/
#include <algorithm>
#include <cctype>
#include <cstring>
#include <cstdlib>
#include <stdexcept>

View File

@ -15,6 +15,8 @@
You should have received a copy of the GNU General Public License along with
OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#include <cctype>
#include <chrono>
#include <opm/parser/eclipse/Deck/Deck.hpp>