Skip to content

Commit 54b604a

Browse files
warning: extra ';' outside of a function is incompatible with C++98 [-Wc++98-compat-extra-semi]
1 parent 009b11b commit 54b604a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/test/UnitTest/LibcTest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ CString libc_make_test_file_path_func(const char *file_name);
334334
return "[ParamType = " #TYPE "]"; \
335335
}
336336

337-
#define LIBC_TEST_GLOBAL_CTOR_DO_PRAGMA(x) _Pragma(#x);
337+
#define LIBC_TEST_GLOBAL_CTOR_DO_PRAGMA(x) _Pragma(#x)
338338

339339
#define LIBC_TEST_GLOBAL_CTOR_DO_PRAGMA_BEGIN \
340340
LIBC_TEST_GLOBAL_CTOR_DO_PRAGMA(GCC diagnostic push)

0 commit comments

Comments
 (0)