diff --git a/Changes b/Changes index 46efce469..6336e6c2d 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,9 @@ The contributors that suggested a given feature are shown in []. Thanks! * Verilator 3.915 devel +**** Fix MacOS portability, bug1232. [Jeff Bush] + + * Verilator 3.914 2017-10-14 ** Added new examples/ directory with appropriate examples. This replaces the diff --git a/configure.ac b/configure.ac index 7934813bb..c8403c816 100644 --- a/configure.ac +++ b/configure.ac @@ -107,7 +107,7 @@ AC_TYPE_SIZE_T AC_C_INLINE AC_LINK_IFELSE( - [AC_LANG_PROGRAM([], [[int* a=new int; delete a; ]])], + [AC_LANG_PROGRAM([#include ], [[int* a=new int; delete a; ]])], [], [AC_MSG_ERROR([$CXX does not seem to successfully compile a simple C++ program])]) AC_DEFUN([_MY_CXX_CHECK_FLAG], @@ -119,7 +119,7 @@ AC_DEFUN([_MY_CXX_CHECK_FLAG], CXXFLAGS="$CXXFLAGS $1 -Werror" AC_MSG_CHECKING([whether $CXX accepts $1]) AC_LINK_IFELSE( - [AC_LANG_PROGRAM([], [[int* a=new int; delete a; ]])], + [AC_LANG_PROGRAM([#include ], [[int* a=new int; delete a; ]])], [_my_result=yes if test -s conftest.err; then if grep -e "$1" conftest.err >/dev/null; then