Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Error in configure when examining "size_t"
- X-seq: zsh-workers 41332
- From: Sebastian Gniazdowski <psprint@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Error in configure when examining "size_t"
- Date: Tue, 20 Jun 2017 10:40:25 +0200
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author