[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #52642] Newer MSVC has <stdint.h>
From: |
Simon Richter |
Subject: |
[bug #52642] Newer MSVC has <stdint.h> |
Date: |
Mon, 11 Dec 2017 14:44:40 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<http://savannah.gnu.org/bugs/?52642>
Summary: Newer MSVC has <stdint.h>
Project: make
Submitted by: geier
Submitted on: Mon 11 Dec 2017 08:44:38 PM CET
Severity: 3 - Normal
Item Group: Build/Install
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.2.1
Operating System: None
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
When building with ARM64-targetted MSVC from Visual Studio 2017, build fails
with
...\stdint.h(45): warning C4114: same type qualifier used more than once
...\stdint.h(45): error C2632: '__int64' followed by 'long' is illegal
...\stdint.h(45): warning C4091: 'typedef ': ignored on left of 'unsigned
__int64' when no variable is declared
The problem is in config.h:
#define uintmax_t unsigned long
which is active for Windows because neither <stdint.h> nor <inttypes.h> is
expected to exist.
MSVC has has <stdint.h> for a few releases now, so it would probably make
sense to assume HAVE_STDINT_H when _MSC_VER >= 1600 (Visual Studio 2010).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52642>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #52642] Newer MSVC has <stdint.h>,
Simon Richter <=