Skip to content
Snippets Groups Projects
Commit 27e8228d authored by Loïc Correnson's avatar Loïc Correnson
Browse files

Merge branch 'fix/virgile/no-pragma-in-oracles' into 'master'

[libc] Don't keep needless pragmas when cplusplus is not activated.

Closes #717

See merge request frama-c/frama-c!2504
parents eca7b9d1 8a17440e
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@
#define __POP_FC_STDLIB
#endif
#ifdef __clang__
#if defined(__clang__) && defined(__cplusplus)
# define __CLANG_IGNORE_ATTRS_PUSH__ \
_Pragma("clang diagnostic push") \
_Pragma("clang diagnostic ignored \"-Wunknown-attributes\"")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment