Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e6514fb

Browse files
authoredMar 2, 2023
Remove C99 requirement from CMake file (#633)
* Remove C99 requirement from CMake file The kernel source is C89 compliant and does not need C99. Signed-off-by: Gaurav Aggarwal <[email protected]> * Explicitly set C89 requirement for kernel Signed-off-by: Gaurav Aggarwal <[email protected]> --------- Signed-off-by: Gaurav Aggarwal <[email protected]>
1 parent 0a70ecb commit e6514fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,7 @@ endif()
230230

231231
########################################################################
232232
# Requirements
233-
set(CMAKE_C_STANDARD 99)
234-
set(CMAKE_C_STANDARD_REQUIRED ON)
233+
set_property(TARGET freertos_kernel PROPERTY C_STANDARD 90)
235234

236235
########################################################################
237236
# Overall Compile Options

0 commit comments

Comments
 (0)