[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-testers] groff 1.23.0.rc3 on native Windows
From: |
Bruno Haible |
Subject: |
Re: [platform-testers] groff 1.23.0.rc3 on native Windows |
Date: |
Mon, 06 Mar 2023 01:46:49 +0100 |
On native Windows, I attempted a build with mingw and with MSVC 14.
* With mingw (in 64-bit mode), the build failed here:
../src/include/symbol.h: In member function ‘long unsigned int symbol::hash()
const’:
../src/include/symbol.h:61:25: error: cast from ‘const char*’ to ‘long unsigned
int’ loses precision [-fpermissive]
return (unsigned long)s;
^
The integral type that is as wide as a pointer is 'uintptr_t' (from
<inttypes.h> or <stdint.h>), not 'unsigned long'.
* With MSVC, there was an internal compiler error.
Logs attached.
mingw.log
Description: Text Data
msvc.log
Description: Text Data
- Re: [platform-testers] groff 1.23.0.rc3 on native Windows,
Bruno Haible <=