Sat 18 Jun 2016 02:03:42 PM UTC, original submission:
To reproduce, run these two commands:
CFLAGS="" ./configure >blank 2>&1
CFLAGS="-Werror" ./configure >werror 2>&1
Then look at 'diff blank werror | less', which shows this:
87,88c87,88
< checking for isblank... yes
< checking for strcasecmp... yes
---
> checking for isblank... no
> checking for strcasecmp... no
90c90
< checking for strncasecmp... yes
---
> checking for strncasecmp... no
92,97c92,97
< checking for snprintf... yes
< checking for vsnprintf... yes
< checking for iswalnum... yes
< checking for iswblank... yes
< checking for iswpunct... yes
< checking for iswspace... yes
---
> checking for snprintf... no
> checking for vsnprintf... no
> checking for iswalnum... no
> checking for iswblank... no
> checking for iswpunct... no
> checking for iswspace... no
103a104,107
> checking for pkg-config... /usr/local/bin/pkg-config
> checking for GLIB - version >= 2.0.0... yes (version 2.24.1)
> checking for pkg-config... (cached) /usr/local/bin/pkg-config
> checking for GLIB - version >= 2.0.0... yes (version 2.24.1)
106,107c110
< checking for vprintf... yes
< checking for _doprnt... no
---
> checking for vprintf... no
117a121,126
> configure: WARNING:
> *** Insufficient UTF-8 support was detected in your curses and/or C
> *** libraries. If you want UTF-8 support, please verify that your slang
> *** was built with UTF-8 support or your curses was built with wide
> *** character support, and that your C library was built with wide
> *** character support.
119,120c128,131
< checking for GNU-style word boundary regex support... yes
< checking whether _XOPEN_SOURCE_EXTENDED is needed... no
---
> checking for GNU-style word boundary regex support... no
> checking whether _XOPEN_SOURCE_EXTENDED is needed... not sure
> configure: WARNING: *** Couldn't successfully compile basic color test with or without _XOPEN_SOURCE_EXTENDED
> configure: WARNING: *** This build may not compile. Consider configuring with --disable-color or installing ncurses
Compilation then fails with this:
In file included from chars.c:26:
/usr/include/ctype.h:128: error: conflicting types for ‘nisblank’
proto.h:176: note: previous declaration of ‘nisblank’ was here
make[2]: *** [chars.o] Error 1
|