Page 1 of 1

stdbool.h

Posted: Thu Jul 04, 2019 2:58 pm
by arunbm123
hi

I want to know if stdbool.h is available ?
What Std C is used ?

Re: stdbool.h

Posted: Thu Jul 04, 2019 6:29 pm
by username
I want to know if stdbool.h is available ?
Forgive my mood, but wouldn't it be easier to simply try #include <stdbool.h> to find out? Rather than to take the time to post the question.

Re: stdbool.h

Posted: Fri Jul 05, 2019 3:23 am
by arunbm123
hi
Oh Eh !
You are Right !....But I love this forum , thats why I always want to keep in touch with esp Geeks..

Re: stdbool.h

Posted: Fri Jul 05, 2019 7:00 am
by ESP_Angus
Yes, available. Default C compiler mode is -std=gnu99, so C99 plus GNU extensions.

This value can be overridden on a per-component or per-file basis, but note that some IDF headers use GNU extensions so can't be included if you set a stricter standard.