mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 11:53:53 -04:00
Removing compiler warnings for GNU and Clang. (#571)
This commit is contained in:
parent
5287c01b3d
commit
927ad2d8e5
2 changed files with 0 additions and 32 deletions
|
@ -244,22 +244,6 @@ target_include_directories(freertos_kernel
|
|||
include
|
||||
)
|
||||
|
||||
target_compile_options( freertos_kernel
|
||||
PRIVATE
|
||||
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-cast-align>
|
||||
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-covered-switch-default>
|
||||
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-documentation>
|
||||
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-extra-semi-stmt>
|
||||
$<$<COMPILE_LANG_AND_ID:C,GNU>:-Wno-int-to-pointer-cast>
|
||||
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-missing-noreturn>
|
||||
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-missing-variable-declarations>
|
||||
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-padded>
|
||||
$<$<COMPILE_LANG_AND_ID:C,GNU>:-Wno-pointer-to-int-cast>
|
||||
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-shorten-64-to-32>
|
||||
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-sign-conversion>
|
||||
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-unused-macros>
|
||||
)
|
||||
|
||||
target_link_libraries(freertos_kernel
|
||||
PUBLIC
|
||||
freertos_config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue