mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-23 04:52:42 -08:00
ecl-cmp_clang_pragmas
Add pragmas to ecl-cmp.h to reduce Clang warnings (better fix: fix the compiler to not produce the kind of code that triggers the warnings, but this works for the time being.)
This commit is contained in:
parent
b69d0c6022
commit
7734f2e134
1 changed files with 5 additions and 0 deletions
|
|
@ -21,6 +21,11 @@
|
|||
* defined */
|
||||
#define _WINSOCKAPI_
|
||||
#endif /* __CYGWIN__ */
|
||||
/* Disable a couple of clang's more annoying diagnostics */
|
||||
#pragma clang diagnostic ignored "-Wreturn-type"
|
||||
#pragma clang diagnostic ignored "-Wunused-value"
|
||||
#pragma clang diagnostic ignored "-Wparentheses-equality"
|
||||
|
||||
#include <ecl/ecl.h>
|
||||
#include <math.h> /* for inline mathematics */
|
||||
#include <ecl/ecl-inl.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue