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

fix compiler warning on __STDC_FORMAT_MACROS redef #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NikolausDemmel
Copy link

Fixes #91

Without this, if I include 2 libraries that define this macro, I get warnings like

warning: '__STDC_FORMAT_MACROS' macro redefined [-Wmacro-redefined]

This is on macos 10.15 with AppleClang 11.

Fixes kazuho#91 

Without this, if I include 2 libraries that define this macro, I get warnings like

```
warning: '__STDC_FORMAT_MACROS' macro redefined [-Wmacro-redefined]
```

This is on macos 10.15 with AppleClang 11.
NikolausDemmel added a commit to NikolausDemmel/Pangolin that referenced this pull request May 13, 2020
Without this, if I include 2 libraries that define this macro, I get warnings like

```
warning: '__STDC_FORMAT_MACROS' macro redefined [-Wmacro-redefined]
```

This is on macos 10.15 with AppleClang 11.

See also upstream PR: kazuho/picojson#127
stevenlovegrove pushed a commit to stevenlovegrove/Pangolin that referenced this pull request May 15, 2020
Without this, if I include 2 libraries that define this macro, I get warnings like

```
warning: '__STDC_FORMAT_MACROS' macro redefined [-Wmacro-redefined]
```

This is on macos 10.15 with AppleClang 11.

See also upstream PR: kazuho/picojson#127
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

Successfully merging this pull request may close these issues.

Warning about __STDC_FORMAT_MACROS
1 participant