bug #1724: Mask buggy warnings with g++-7

(grafted from 427f2f66d6
)
This commit is contained in:
Christoph Hertzberg 2019-06-14 14:57:46 +02:00
parent 6d432eae5d
commit e0be7f30e1

View File

@ -59,7 +59,10 @@
#if __GNUC__>=6
#pragma GCC diagnostic ignored "-Wignored-attributes"
#endif
#if __GNUC__==7
// See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325
#pragma GCC diagnostic ignored "-Wattributes"
#endif
#endif
#if defined __NVCC__