~strahinja/slweb

b39ac8c9709d9f582ed61ac165802247a4fa516a — Страхиња Радић 9 days ago c3a96ca
Added GCC check to avoid problems with #pragma GCC

Signed-off-by: Страхиња Радић <contact@strahinja.org>
2 files changed, 5 insertions(+), 1 deletions(-)

M defs.h
M index.html
M defs.h => defs.h +4 -0
@@ 89,8 89,10 @@ typedef struct

typedef int (*csv_callback_t)(FILE* output, uint8_t** csv_header, uint8_t** csv_register);

#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-const-variable"
#endif
#define MAX_HEADING_LEVEL  4
#define MAX_CSV_REGISTERS  9



@@ 136,7 138,9 @@ typedef int (*csv_callback_t)(FILE* output, uint8_t** csv_header, uint8_t** csv_
#define ST_CS_COND_NONEMPTY (1 << 5)
#define ST_CS_COND_EMPTY    (1 << 6)
#define ST_CS_ESCAPE        (1 << 7)
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif

#endif /* __DEFS_H */


M index.html => index.html +1 -1
@@ 153,7 153,7 @@ this program. If not, see &lt;<a href="https://www.gnu.org/licenses">https://www

<div id="git-log">
Previous commit:
index.slw a4f216d 2021-04-08 11:26:22 +0200 (Страхиња Радић)  (HEAD -> master, origin/master, origin/HEAD)
index.slw c3a96ca 2021-04-08 11:46:00 +0200 (Страхиња Радић)  (HEAD -> master, origin/master, origin/HEAD)
</div><!--git-log-->