zsh-workers
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <psprint@zdharma.org>
To: zsh-workers@zsh.org
Subject: Error in configure when examining "size_t"
Date: Tue, 20 Jun 2017 10:40:25 +0200	[thread overview]
Message-ID: <etPan.5948df79.3cc81529.63ea@zdharma.org> (raw)

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


             reply	other threads:[~2017-06-20  8:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20  8:40 Sebastian Gniazdowski [this message]
2017-06-20 16:42 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=etPan.5948df79.3cc81529.63ea@zdharma.org \
    --to=psprint@zdharma.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).