Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
9dec8f20
Commit
9dec8f20
authored
4 years ago
by
Andre Maroneze
Committed by
Andre Maroneze
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Libc] Revert now-unnecessary pragmas to ignore FRAMA_C_MODEL attribute
This reverts commit
3b350317
.
parent
524b4637
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
share/libc/features.h
+4
-19
4 additions, 19 deletions
share/libc/features.h
with
4 additions
and
19 deletions
share/libc/features.h
+
4
−
19
View file @
9dec8f20
...
...
@@ -34,27 +34,12 @@
#define __POP_FC_STDLIB
#endif
#if defined(__clang__) && defined(__cplusplus)
# define __CLANG_IGNORE_ATTRS_PUSH__ \
_Pragma("clang diagnostic push") \
_Pragma("clang diagnostic ignored \"-Wunknown-attributes\"")
# define __CLANG_IGNORE_ATTRS_POP__ \
_Pragma("clang diagnostic pop")
#else
# define __CLANG_IGNORE_ATTRS_PUSH__
# define __CLANG_IGNORE_ATTRS_POP__
#endif
#ifdef __cplusplus
# define __BEGIN_DECLS \
extern "C" { \
__CLANG_IGNORE_ATTRS_PUSH__
# define __END_DECLS \
__CLANG_IGNORE_ATTRS_POP__ \
}
# define __BEGIN_DECLS extern "C" {
# define __END_DECLS }
#else
# define __BEGIN_DECLS
__CLANG_IGNORE_ATTRS_PUSH__
# define __END_DECLS
__CLANG_IGNORE_ATTRS_POP__
# define __BEGIN_DECLS
# define __END_DECLS
#endif
#undef __LEAF
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment