mirror of
https://github.com/verilator/verilator.git
synced 2025-01-05 22:27:35 +00:00
Fix MacOS portability, bug1232.
This commit is contained in:
parent
5fb21c2159
commit
f5dfa1e9c3
3
Changes
3
Changes
@ -4,6 +4,9 @@ The contributors that suggested a given feature are shown in []. Thanks!
|
|||||||
|
|
||||||
* Verilator 3.915 devel
|
* Verilator 3.915 devel
|
||||||
|
|
||||||
|
**** Fix MacOS portability, bug1232. [Jeff Bush]
|
||||||
|
|
||||||
|
|
||||||
* Verilator 3.914 2017-10-14
|
* Verilator 3.914 2017-10-14
|
||||||
|
|
||||||
** Added new examples/ directory with appropriate examples. This replaces the
|
** Added new examples/ directory with appropriate examples. This replaces the
|
||||||
|
@ -107,7 +107,7 @@ AC_TYPE_SIZE_T
|
|||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
|
|
||||||
AC_LINK_IFELSE(
|
AC_LINK_IFELSE(
|
||||||
[AC_LANG_PROGRAM([], [[int* a=new int; delete a; ]])],
|
[AC_LANG_PROGRAM([#include <new>], [[int* a=new int; delete a; ]])],
|
||||||
[], [AC_MSG_ERROR([$CXX does not seem to successfully compile a simple C++ program])])
|
[], [AC_MSG_ERROR([$CXX does not seem to successfully compile a simple C++ program])])
|
||||||
|
|
||||||
AC_DEFUN([_MY_CXX_CHECK_FLAG],
|
AC_DEFUN([_MY_CXX_CHECK_FLAG],
|
||||||
@ -119,7 +119,7 @@ AC_DEFUN([_MY_CXX_CHECK_FLAG],
|
|||||||
CXXFLAGS="$CXXFLAGS $1 -Werror"
|
CXXFLAGS="$CXXFLAGS $1 -Werror"
|
||||||
AC_MSG_CHECKING([whether $CXX accepts $1])
|
AC_MSG_CHECKING([whether $CXX accepts $1])
|
||||||
AC_LINK_IFELSE(
|
AC_LINK_IFELSE(
|
||||||
[AC_LANG_PROGRAM([], [[int* a=new int; delete a; ]])],
|
[AC_LANG_PROGRAM([#include <new>], [[int* a=new int; delete a; ]])],
|
||||||
[_my_result=yes
|
[_my_result=yes
|
||||||
if test -s conftest.err; then
|
if test -s conftest.err; then
|
||||||
if grep -e "$1" conftest.err >/dev/null; then
|
if grep -e "$1" conftest.err >/dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user