[Tcsh] configure fails on Debian 12 (bookworm)

Michal Szymanski msz at astrouw.edu.pl
Thu Apr 13 14:04:41 UTC 2023


Looks reasonable to me. '(socklen_t)' is a cast operator, so compiler
may expect an expression to be cast.
regards, Michal

On Thu, Apr 13, 2023 at 04:45:01PM +0300, Kimmo Suominen wrote:
> | configure:8065: gcc -c -g -O2
> -ffile-prefix-map=/home/builder/build-aAEu4Kg5pL/tcsh-6.24.09=.
> -fstack-protector-strong -Wformat
> -Werror=format-security -D_FILE_OFFSET_BITS=64 -Wdate-time
> -D_FORTIFY_SOURCE=2 conftest.c >&5
> | conftest.c: In function 'main':
> | conftest.c:42:24: error: expected expression before ')' token
> |    42 | if (sizeof ((socklen_t)))
> |       |                        ^
> 
> root at 07589e99ecd2:/# gcc --version
> gcc (Debian 12.2.0-14) 12.2.0
> -- 
> Tcsh mailing list
> Tcsh at astron.com
> https://mailman.astron.com/mailman/listinfo/tcsh

-- 
  Michal Szymanski (msz at astrouw dot edu dot pl)
  Warsaw University Observatory, Warszawa, POLAND


More information about the Tcsh mailing list