Commit 505ca7f3 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix handling of clang checks.

parent fb1654d8
......@@ -61,7 +61,6 @@
# if defined __clang__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wreserved-id-macro"
# pragma GCC diagnostic ignored "-Wstrict-prototypes"
# endif
# include <cfortran.h>
# if defined __clang__
......
......@@ -45,7 +45,15 @@
#define FCALLSC_QUALIFIER PPM_DSO_INTERNAL
#include "cfortran.h"
#if defined __clang__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wreserved-id-macro"
#endif
#include <cfortran.h>
#if defined __clang__
# pragma GCC diagnostic pop
#endif
#include "core/ppm_visibility.h"
#include "core.h"
......
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