Silencing warnings about potential comma mis-use.

This commit is contained in:
Johan Sköld
2018-01-30 21:29:22 -08:00
parent 8fd3fce6be
commit d3fac786da
2 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
#if defined(__has_warning)
# if __has_warning("-Wcomma")
# pragma GCC diagnostic ignored "-Wcomma" // Possible misuse of comma operator here
# endif
#endif
/*
Copyright (c) 2014 - 2016, Syoyo Fujita
All rights reserved.