https://git.reactos.org/?p=reactos.git;a=commitdiff;h=50647e58e45fd10653d7d208dd3f0433af3be8bd

commit 50647e58e45fd10653d7d208dd3f0433af3be8bd
Author:     Justin Miller <justin.mil...@reactos.org>
AuthorDate: Sat Oct 19 12:25:16 2024 -0700
Commit:     Justin Miller <justinmiller...@gmail.com>
CommitDate: Sat Oct 19 13:45:59 2024 -0700

    [SDK] Disable the unknown-pragma for GCC
---
 sdk/cmake/gcc.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sdk/cmake/gcc.cmake b/sdk/cmake/gcc.cmake
index df283873494..cecbd895cd4 100644
--- a/sdk/cmake/gcc.cmake
+++ b/sdk/cmake/gcc.cmake
@@ -50,6 +50,7 @@ add_compile_options(-mlong-double-64)
 add_compile_options("$<$<NOT:$<COMPILE_LANGUAGE:CXX>>:-nostdinc>")
 
 if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
+    add_compile_options("-Wno-unknown-pragmas")
     add_compile_options(-fno-aggressive-loop-optimizations)
     if (DBG)
         add_compile_options("$<$<COMPILE_LANGUAGE:C>:-Wold-style-declaration>")

Reply via email to