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

Use wrapper headers for stdint.h instead of built-in macros #33

Open
komh opened this issue Aug 26, 2019 · 1 comment
Open

Use wrapper headers for stdint.h instead of built-in macros #33

komh opened this issue Aug 26, 2019 · 1 comment

Comments

@komh
Copy link
Collaborator

komh commented Aug 26, 2019

__STDC_CONSTANT_MACROS and __STDC_LIMIT_MACROS are defined as built-in
macros. This causes unnecessary warnings of redefinition of those
macros.

Instead, use wrapper headers for them.

Here is the patch. Review, please...

0001-OS-2-Use-wrapper-headers-for-stdint.h-instead-of-bui.patch.txt

@komh
Copy link
Collaborator Author

komh commented Aug 26, 2019

You should add \usr\local492\lib\gcc\ix86-pc-os2-emx\4.9.2\include, where x depends on your build target, primarily 3 or 6, before \usr\include. The directory is missing in gcc4.cmd, gcc4 setup script. Modifying it woube be better.

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

No branches or pull requests

1 participant