Skip to content

Commit

Permalink
Fix noreturn attribute detection (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Aug 20, 2017
1 parent 14d8534 commit 37eb419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ typedef __int64 intmax_t;
// Use the compiler's attribute noreturn
#if defined(__MINGW32__) || defined(__MINGW64__)
# define FMT_NORETURN __attribute__((noreturn))
#elif FMT_HAS_CPP_ATTRIBUTE(noreturn)
#elif FMT_HAS_CPP_ATTRIBUTE(noreturn) && __cplusplus >= 201103L
# define FMT_NORETURN [[noreturn]]
#else
# define FMT_NORETURN
Expand Down

0 comments on commit 37eb419

Please sign in to comment.