Skip to content

Conversation

@dean0x7d
Copy link
Contributor

I had an unused typedef warning as shown below. Looks like static_assert couldn't be found on clang
This PR fixes it.

cppformat/posix.cc:162:3: warning: unused typedef 'Assert163'
      [-Wunused-local-typedef]
  FMT_STATIC_ASSERT(sizeof(fmt::LongLong) >= sizeof(file_stat.st_size),
  ^

vitaut added a commit that referenced this pull request Nov 12, 2015
Fix static_assert feature detection on clang
@vitaut vitaut merged commit 3df9bf3 into fmtlib:master Nov 12, 2015
@vitaut
Copy link
Contributor

vitaut commented Nov 12, 2015

Thanks!

@dean0x7d dean0x7d deleted the fix_warning branch November 12, 2015 22:50
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.

2 participants