mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/pthread-ignored-warnings' into 'master'
pthread: fix and re-enable no-format warnings Closes IDF-6803 See merge request espressif/esp-idf!22719
This commit is contained in:
commit
96a4abdbec
@ -26,5 +26,3 @@ list(APPEND extra_link_flags "-u pthread_include_pthread_rwlock_impl")
|
|||||||
if(extra_link_flags)
|
if(extra_link_flags)
|
||||||
target_link_libraries(${COMPONENT_LIB} INTERFACE "${extra_link_flags}")
|
target_link_libraries(${COMPONENT_LIB} INTERFACE "${extra_link_flags}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2018-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@ -307,7 +307,7 @@ int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
|
|||||||
|
|
||||||
*thread = (pthread_t)pthread; // pointer value fit into pthread_t (uint32_t)
|
*thread = (pthread_t)pthread; // pointer value fit into pthread_t (uint32_t)
|
||||||
|
|
||||||
ESP_LOGV(TAG, "Created task %x", (uint32_t)xHandle);
|
ESP_LOGV(TAG, "Created task %"PRIx32, (uint32_t)xHandle);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user