When the msinttypes directory is not in the project include paths list, a
build error is thrown from inttypes.h attempting to include stdint.h.
Steps to reproduce:
1. In Visual Studio, create a new empty C++ project.
2. Place the msinttypes files in the directory "<PROJECT DIR>/msinttypes".
3. Add the attached Main.cpp file to the project.
4. Attempt to build.
Realized output:
Build error: "fatal error C1083: Cannot open include file: 'stdint.h': No
such file or directory"
Expected output:
Project should build successfully.
Fix:
In inttypes.h, #include "stdint.h" rather than #include <stdint.h> (i.e.
use quotes rather than square brackets).
Original issue reported on code.google.com by louse...@gmail.com on 24 Aug 2009 at 3:52
Original issue reported on code.google.com by
louse...@gmail.com
on 24 Aug 2009 at 3:52Attachments: