Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jens Gustedt
P99 - macros and functions for C99
Commits
d559a586
Commit
d559a586
authored
Jul 18, 2014
by
Jens Gustedt
Browse files
clang 3.5 adds some annoying warnings
parent
f6b61b49
Changes
1
Hide whitespace changes
Inline
Side-by-side
p99/p99_compiler.h
View file @
d559a586
...
...
@@ -1069,6 +1069,10 @@ P99_IF_COMPILER(GNU, GCC diagnostic ignored "-Wmissing-field-initializers")
P99_IF_COMPILER
(
OPEN64
,
GCC
diagnostic
ignored
"-Wmissing-braces"
)
P99_IF_COMPILER
(
OPEN64
,
GCC
diagnostic
ignored
"-Wmissing-field-initializers"
)
/* clang warns about features that are completely ok. */
P99_IF_COMPILER
(
CLANG
,
GCC
diagnostic
ignored
"-Wnon-literal-null-conversion"
)
P99_IF_COMPILER
(
CLANG
,
GCC
diagnostic
ignored
"-Wswitch-bool"
)
/**
** @def P99_WARN_INIT_PUSH
** @brief Switch bogus warnings about initializers off.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment