Skip to content

Commit

Permalink
Updated std=c++17 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalashnikovni committed Jun 6, 2023
1 parent 32d7307 commit ffaf1df
Show file tree
Hide file tree
Showing 5 changed files with 510 additions and 61 deletions.
Binary file removed 3rd-party/gtest/googletest-release-1.10.0.tar.gz
Binary file not shown.
Binary file added 3rd-party/gtest/googletest-release-1.12.1.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MODE ?= Debug
# The Directories, Source, Includes, Objects, Binary
ROOT := .
3RD_PARTY_DIR := $(ROOT)/3rd-party
GTEST_DIR := googletest-release-1.10.0
GTEST_DIR := googletest-release-1.12.1
GTEST_CODE := $(GTEST_DIR).tar.gz
BUILD_DIR :=
BUILD_DIR := $(ROOT)/obj/release
Expand Down
3 changes: 2 additions & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ AC_PROG_CXX
AC_PROG_CC
AX_CXX_COMPILE_STDCXX(11,noext,mandatory)
AX_CXX_COMPILE_STDCXX(14,noext,mandatory)
AX_CXX_COMPILE_STDCXX(17,noext,mandatory)

# Checks for libraries.
AC_LANG([C++])
AC_CHECK_HEADERS([ginac/ginac.h],[],[AC_MSG_ERROR([ModelicaCC needs libginac.])],[])

# Checks for header files.
AX_BOOST_BASE(["1.58"],[], AC_MSG_ERROR([ModelicaCC needs boost library.]))
AX_BOOST_BASE(["1.71"],[], AC_MSG_ERROR([ModelicaCC needs boost library.]))
AC_FUNC_ALLOCA
AC_CHECK_HEADERS([malloc.h stdlib.h string.h unistd.h])

Expand Down
Loading

0 comments on commit ffaf1df

Please sign in to comment.