Re: determine base type of a typedef

2020-10-26 Thread Paul Eggert
On 10/26/20 8:48 AM, Bob Friesenhahn wrote: The approach that Paul Eggert suggests is very interesting, but it might not provide absolute proof of the C type since the compiler/linker might allow success if the types are the same size. Not a problem in practice. The C standard requires a

RE: Debian archive rebuild with Autoconf 2.69c

2020-10-26 Thread Jannick
On Sun, 25 Oct 2020 18:37:33 +0100, wf...@debian.org wrote: > Kronosnet Debian maintainer here. I looked into the build problem, and > arrived at this example: > > AC_PREREQ([2.63]) > AC_INIT([foo],1.0,[de...@example.org]) > AC_CONFIG_MACRO_DIR([m4]) > AX_PROG_CC_FOR_BUILD > AC_OUTPUT > > Using

[PATCH] similar treatment for CYGWIN and MSYS2

2020-10-26 Thread Jannick
Attached for your consideration a patch such that MSYS2 and CYGWIN are treated the same. Thanks, J. diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index 59a8859b..e53220c7 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -666,7 +666,7 @@ while test $[@%:@] !=

Re: determine base type of a typedef

2020-10-26 Thread Bob Friesenhahn
On Fri, 23 Oct 2020, Vivien Kraus wrote: Is it not possible to always use "%lld" and always convert the arguments to (long long int)? The way I have been doing things for many years is to get the size of the underlying type and then include a cast in the printf arguments to a type of the