diff --git a/profinet_stack/p-net/CMakeLists.txt b/profinet_stack/p-net/CMakeLists.txt index 27c0e8d..27b53a9 100644 --- a/profinet_stack/p-net/CMakeLists.txt +++ b/profinet_stack/p-net/CMakeLists.txt @@ -188,7 +188,7 @@ generate_export_header(profinet set_target_properties (profinet pn_dev PROPERTIES - C_STANDARD 99 + C_STANDARD 11 ) target_compile_features(profinet PUBLIC c_std_99) diff --git a/profinet_stack/p-net/cmake/Linux.cmake b/profinet_stack/p-net/cmake/Linux.cmake index 2a19f88..df29df1 100644 --- a/profinet_stack/p-net/cmake/Linux.cmake +++ b/profinet_stack/p-net/cmake/Linux.cmake @@ -47,7 +47,6 @@ target_compile_options(profinet PRIVATE -Wall -Wextra - -Werror -Wno-unused-parameter -ffunction-sections -fdata-sections @@ -83,7 +82,6 @@ target_compile_options(pn_dev PRIVATE -Wall -Wextra - -Werror -Wno-unused-parameter -ffunction-sections -fdata-sections