stdbool.h

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

stdbool.h

Postby arunbm123 » Thu Jul 04, 2019 2:58 pm

hi

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

username
Posts: 227
Joined: Thu May 03, 2018 1:18 pm

Re: stdbool.h

Postby username » Thu Jul 04, 2019 6:29 pm

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.

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

Re: stdbool.h

Postby arunbm123 » Fri Jul 05, 2019 3:23 am

hi
Oh Eh !
You are Right !....But I love this forum , thats why I always want to keep in touch with esp Geeks..

ESP_Angus
Posts: 2279
Joined: Sun May 08, 2016 4:11 am

Re: stdbool.h

Postby ESP_Angus » Fri Jul 05, 2019 7:00 am

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.

Who is online

Users browsing this forum: Bing [Bot] and 54 guests