чување b39ac8c9709d9f582ed61ac165802247a4fa516a
родитељ c3a96ca62595e89e806316acc789ecb7858b919a
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Thu, 8 Apr 2021 12:10:50 +0200
Added GCC check to avoid problems with #pragma GCC
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 2, додавања: 5(+), брисања: 1(-)
diff --git a/defs.h b/defs.h
@@ -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 */
diff --git a/index.html b/index.html
@@ -153,7 +153,7 @@ this program. If not, see <<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-->