Error__GLIBC_USE' is not defined when compiling cpp
Posted: Thu Jul 11, 2024 1:43 pm
An (editor) error is generated at line:
In included file: function-like macro '__GLIBC_USE' is not defined
/usr/include/limits.h:145:5:
note: error occurred here
This happens with .cpp files. c files OK.
The code builds OK.
I am using Espressif IDE 3.0.0 Build id: 20240605-1941, IDF 5.1.4
With old IDE 2.12.1 no errors.
Code: Select all
#include "freertos/FreeRTOS.h
/usr/include/limits.h:145:5:
note: error occurred here
This happens with .cpp files. c files OK.
The code builds OK.
I am using Espressif IDE 3.0.0 Build id: 20240605-1941, IDF 5.1.4
With old IDE 2.12.1 no errors.