summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1beb631)
raw | patch | inline | side by side (parent: 1beb631)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 24 Feb 2014 01:48:25 +0000 (17:48 -0800) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 24 Feb 2014 01:48:25 +0000 (17:48 -0800) |
Else, GCC will complain about "ISO C forbids conversion of object pointer to
function pointer type", even for casting function points to or from void
pointers. This is allowed by POSIX, though, and required, for example, for
dlsym() to work.
function pointer type", even for casting function points to or from void
pointers. This is allowed by POSIX, though, and required, for example, for
dlsym() to work.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index e64e094ccbbfc20070a147acaa0a94528f9919ce..420021f628ab81d61a4e898fe1acdc6c3d173f2a 100644 (file)
--- a/configure.ac
+++ b/configure.ac
dnl strict standards compliance a bit to work around this.
AC_DEFINE([_BSD_SOURCE], 1, [Define to enable 4.3BSD support.])
- for flag in -std=c99 -pedantic; do
+ for flag in -std=c99; do
AC_MSG_CHECKING([whether $CC accepts $flag])
if test_cc_flags $flag; then