On Tue, 2026-08-18 at 13:42 +0200, iain wrote:
> The Windows build script does not currently provide an ARM64 option,
> but adding:

Thank you I can add a change like this.

> The resulting build then fails in arscan.c with:
> stdint.h(45): error C2632: '__int64' followed by 'long' is illegal
> stdint.h(46): error C2632: '__int64' followed by 'long' is illegal
> The cause appears to be in src/config.h.W32. The definitions
> of HAVE_INTTYPES_H and HAVE_STDINT_H are currently guarded
> by __MINGW32__:
> 
> When compiling with MSVC, __MINGW32__ is not defined, even though
> MSVC supplies both headers.

I think the reason for this is that older versions of MSVC prior to
MSVC 2010, do not provide these headers.  Eli, do you know if there was
another reason?

If that was the only issue we could replace the check with something
like:

  #if __MINGW32__ || (defined(_MSC_VER) && (_MSC_VER >= 1600))


-- 
Paul D. Smith <[email protected]>            Find some GNU Make tips at:
https://www.gnu.org                       http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad
Scientist



Reply via email to