Commit 7ad199a1 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Suppress warnings from cgribexlib.c.

* This is only a temporary solution.
* Protect diagnostic pragmas for GCC versions not implementing them.
parent 7cc6bd49
......@@ -2,6 +2,12 @@
/* Automatically generated by m214003 at 2014-08-06, do not edit */
/* CGRIBEXLIB_VERSION="1.7.0" */
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5)
#pragma GCC diagnostic push
#endif
#pragma GCC diagnostic ignored "-Wconversion"
#pragma GCC diagnostic ignored "-Wsign-conversion"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#ifdef _ARCH_PWR6
#pragma options nostrict
......@@ -14122,3 +14128,7 @@ cgribexLibraryVersion(void)
{
return (grb_libvers);
}
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5)
#pragma GCC diagnostic pop
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment