bugmake - Bugs: bug #52642, Newer MSVC has <stdint.h>


bug #52642: Newer MSVC has <stdint.h>

Submitted by:  Simon Richter <geier>
Submitted on:  Mon 11 Dec 2017 07:44:38 PM UTC  
Severity: 3 - NormalItem Group: Build/Install
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 4.2.1Operating System: None
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 14 Dec 2017 01:30:57 PM UTC, comment #1:

OK thanks for the note. I'll have VS 2017 available to test on in a week or two I believe.

Paul D. Smith <psmith>
Project Administrator
Mon 11 Dec 2017 07:44:38 PM UTC, original submission:

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).

Simon Richter <geier>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by geier (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1