Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error when stdint.h is not in the project's include paths list #5

Closed
GoogleCodeExporter opened this issue Mar 4, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

Attachments:

@GoogleCodeExporter
Copy link
Author

Thank you for you report!
This is fixed in r26 now, new download is available.
Sorry for long time to fix.

Original comment by alexander.chemeris on 2 Oct 2009 at 9:41

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant