Skip to content

Commit c05b090

Browse files
committed
Disable GCC compiler warning
Signed-off-by: Stephan Mueller <smueller@chronox.de>
1 parent fad7d22 commit c05b090

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/src/status.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,10 @@ LC_INTERFACE_FUNCTION(void, lc_status, char *outbuf, size_t outlen)
8383
"no";
8484
#endif
8585

86+
#ifdef __clang__
8687
#pragma GCC diagnostic push
8788
#pragma GCC diagnostic ignored "-Wembedded-directive"
89+
#endif
8890

8991
size_t len;
9092

@@ -241,6 +243,8 @@ LC_INTERFACE_FUNCTION(void, lc_status, char *outbuf, size_t outlen)
241243
#endif
242244
);
243245

246+
#ifdef __clang__
244247
#pragma GCC diagnostic pop
248+
#endif
245249

246250
}

0 commit comments

Comments
 (0)