[Top][All Lists]

[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() 
../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.

Attachment: mingw.log
Description: Text Data

Attachment: msvc.log
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]