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 - Normal Item Group:  Build/Install
Status:  Fixed Privacy:  Public
Assigned to:  Paul D. Smith <psmith> Open/Closed:  Closed
Component Version:  4.2.1 Operating System:  MS Windows
Fixed Release:  4.3 Triage Status:  None

Add a New Comment (Rich Markup)

You are not logged in

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


Sat 04 Aug 2018 09:06:42 PM UTC, comment #2: 

The current version from Git will compile on Windows using MSVC 2017.  Thanks.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
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 AdministratorIn charge of this item.
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 Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-04 psmith StatusNone => Fixed
        Assigned toNone => psmith
        Open/ClosedOpen => Closed
        Operating SystemNone => MS Windows
        Fixed ReleaseNone => 4.3

    Back to the top

    Powered by Savane 3.7