Displaying 2 results from an estimated 2 matches for "_stdc_c99".
2016 Aug 01
4
OpenSSH 7.3p1 can't be build on Solaris 10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
configure:17280: result: no
configure:17300: checking for mblen
configure:17356: gcc -o conftest -O3 -m64 -mtune=native -pipe -Wall
-Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
-fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset
2016 Aug 02
2
OpenSSH 7.3p1 can't be build on Solaris 10
...[AC_LANG_PROGRAM(and
[[ #include <ctype.h> ]],
[[ return (isblank('a')); ]])],
[AC_DEFINE([HAVE_ISBLANK], [1], [Define if you have isblank(3C).])
])
before that the mblen test didn't have XOPEN_SOURCE.
The failing condition is "if defined(_STDC_C99) &&
(defined(__XOPEN_OR_POSIX) && !defined(_XPG6))". The above explains
where the XOPEN came from. As to why you're seeing it, my guess is
your version of gcc defaults to -std=c99 and mine doesn't. You can
try adding "-std=c89" to your CFLAGS and see if it...