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

Duplicate 'inline' in macro expansion #1637

Closed
RouterGray opened this issue Apr 19, 2020 · 3 comments
Closed

Duplicate 'inline' in macro expansion #1637

RouterGray opened this issue Apr 19, 2020 · 3 comments

Comments

@RouterGray
Copy link

Commit a138221 is giving this error with gcc 4.9.4 and ninja:

_deps/fmt-src/include/fmt/core.h:175:24: error: duplicate ‘inline’
 #    define FMT_INLINE inline __attribute__((always_inline))
                        ^
_deps/fmt-src/include/fmt/core.h:935:17: note: in expansion of macro ‘FMT_INLINE’
   FMT_CONSTEXPR FMT_INLINE value(int val = 0) : int_value(val) {}
                 ^
_deps/fmt-src/include/fmt/core.h:175:24: error: duplicate ‘inline’
 #    define FMT_INLINE inline __attribute__((always_inline))
                        ^
_deps/fmt-src/include/fmt/core.h:936:17: note: in expansion of macro ‘FMT_INLINE’
   FMT_CONSTEXPR FMT_INLINE value(unsigned val) : uint_value(val) {}
                 ^
@vitaut
Copy link
Contributor

vitaut commented Apr 19, 2020

Already fixed in 0c86f46.

@vitaut vitaut closed this as completed Apr 19, 2020
@RouterGray
Copy link
Author

lol. if i'd just waited 2 more minutes xD sorry

@vitaut
Copy link
Contributor

vitaut commented Apr 19, 2020

No worries.

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

2 participants