zsh-workers
 help / color / mirror / code / Atom feed
* Error in configure when examining "size_t"
@ 2017-06-20  8:40 Sebastian Gniazdowski
  2017-06-20 16:42 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Gniazdowski @ 2017-06-20  8:40 UTC (permalink / raw)
  To: zsh-workers

Hello,
I've spotted on 5.2 / gentoo and HEAD / OS X that this appears in config.log:

configure:4685: checking for unistd.h
configure:4685: gcc -c -g -Wall -O0 -I/usr/local/include conftest.c >&5
configure:4685: $? = 0
configure:4685: result: yes
configure:4697: checking for size_t
configure:4697: gcc -c -g -Wall -O0 -I/usr/local/include conftest.c >&5
configure:4697: $? = 0
configure:4697: gcc -c -g -Wall -O0 -I/usr/local/include conftest.c >&5
conftest.c:68:21: error: expected expression
if (sizeof ((size_t)))
                    ^
1 error generated.
configure:4697: $? = 1


Don't know from where this comes from. The only reference that I've found is the following from configure (not configure.ac):


ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
if test "x$ac_cv_type_size_t" = xyes; then :

else

cat >>confdefs.h <<_ACEOF
#define size_t unsigned int
_ACEOF

fi

--  
Sebastian Gniazdowski
psprint /at/ zdharma.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error in configure when examining "size_t"
  2017-06-20  8:40 Error in configure when examining "size_t" Sebastian Gniazdowski
@ 2017-06-20 16:42 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2017-06-20 16:42 UTC (permalink / raw)
  To: zsh-workers

That's an expected error in the event that the test fails.  It means
the size_t type was not found in any of the headers that were checked.

This is a standard configure test (part of the suite, not something we
added explicitly) so if it's wrong (or digging in the wrong place) a
newer version of the GNU tools may be needed.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-20 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-20  8:40 Error in configure when examining "size_t" Sebastian Gniazdowski
2017-06-20 16:42 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).