Skip to content

Commit b1010b3

Browse files
committed
More warnings for GNU used by CI/CD pipeline.
1 parent 27a9f4f commit b1010b3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

source/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ target_compile_options( freertos_plus_tcp
7676
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-unused-macros>
7777
$<$<COMPILE_LANG_AND_ID:C,GNU>:-Wno-unused-but-set-variable>
7878
$<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wno-unused-parameter>
79+
$<$<COMPILE_LANG_AND_ID:C,GNU>:-Wno-unused-variable>
80+
$<$<COMPILE_LANG_AND_ID:C,GNU>:-Wno-pedantic>
7981
)
8082

8183
target_link_libraries( freertos_plus_tcp

test/build-combination/Common/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void vApplicationIdleHook( void )
199199
/* Exit. Just a stub. */
200200
}
201201
/*-----------------------------------------------------------*/
202-
void vAssertCalled( const char * const pcFile,
202+
void vAssertCalled( const char * pcFile,
203203
unsigned long ulLine )
204204
{
205205
const uint32_t ulLongSleep = 1000UL;

0 commit comments

Comments
 (0)