Skip to content

Commit

Permalink
More warnings for GNU used by CI/CD pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
phelter committed Oct 23, 2022
1 parent 27a9f4f commit ecc9d85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ target_compile_options( freertos_plus_tcp
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-unused-macros>
$<$<COMPILE_LANG_AND_ID:C,GNU>:-Wno-unused-but-set-variable>
$<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wno-unused-parameter>
$<$<COMPILE_LANG_AND_ID:C,GNU>:-Wno-unused-variable>
$<$<COMPILE_LANG_AND_ID:C,GNU>:-Wno-pedantic>
)

target_link_libraries( freertos_plus_tcp
Expand Down
2 changes: 1 addition & 1 deletion test/build-combination/Common/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

/* Assert call defined for debug builds. */
void vAssertCalled( const char * pcFile,
uint32_t ulLine );
unsigned long ulLine );

#define configASSERT( x )

Expand Down
2 changes: 1 addition & 1 deletion test/build-combination/Common/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void vApplicationIdleHook( void )
/* Exit. Just a stub. */
}
/*-----------------------------------------------------------*/
void vAssertCalled( const char * const pcFile,
void vAssertCalled( const char * pcFile,
unsigned long ulLine )
{
const uint32_t ulLongSleep = 1000UL;
Expand Down

0 comments on commit ecc9d85

Please sign in to comment.