mirror of
https://github.com/false-schemers/skint.git
synced 2024-12-24 21:58:52 +01:00
suppression of spurious warnings
This commit is contained in:
parent
ea15417b4e
commit
b041175249
3 changed files with 16 additions and 2 deletions
5
n.h
5
n.h
|
@ -1,5 +1,10 @@
|
|||
/* n.h -- generated via skint nsf2h.ssc n.sf */
|
||||
|
||||
#if defined(__clang__)
|
||||
#pragma GCC diagnostic ignored "-Wparentheses-equality"
|
||||
#endif
|
||||
/* this is for MS headers; shouldn't affect others */
|
||||
#define _CRT_SECURE_NO_WARNINGS 1
|
||||
|
||||
/* standard includes */
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -20,7 +20,13 @@
|
|||
(define (module-name filename)
|
||||
(path-strip-extension (path-strip-directory filename)))
|
||||
|
||||
(define *prelude* "
|
||||
(define *prelude*
|
||||
"#if defined(__clang__)
|
||||
#pragma GCC diagnostic ignored \"-Wparentheses-equality\"
|
||||
#endif
|
||||
/* this is for MS headers; shouldn't affect others */
|
||||
#define _CRT_SECURE_NO_WARNINGS 1
|
||||
|
||||
/* standard includes */
|
||||
#include <stdio.h>
|
||||
#include <stddef.h>
|
||||
|
|
5
s.h
5
s.h
|
@ -1,4 +1,4 @@
|
|||
/* k.h -- system-dependent stuff */
|
||||
/* s.h -- system-dependent stuff */
|
||||
|
||||
#if defined(__GNUC__) && defined(__linux)
|
||||
#ifdef _FEATURES_H
|
||||
|
@ -13,6 +13,9 @@
|
|||
#define _XOPEN_SOURCE_EXTENDED 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* this is for MS headers; shouldn't affect others */
|
||||
#define _CRT_SECURE_NO_WARNINGS 1
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
|
Loading…
Reference in a new issue