Commit Graph

4 Commits

Author SHA1 Message Date
Romain Goyet
9db16997af [liba] Update the bool type to use _Bool
_Bool is defined in C99 which we use already. In practice it's 1 byte
just like char, so this shouldn't have any impact on the built object.

But this patch removes LTO errors when linking C code with C++ code.
Indeed, the linker would raise type mismatch because in C++ bool is
defined to _Bool whereas in C it would be defined to char.
2019-09-18 10:52:20 +02:00
Romain Goyet
42deac0770 [liba] stdbool.h defines true and false
Change-Id: I83ad538bdfc482af1c760a4c4609633ede42053f
2017-08-03 11:03:01 +02:00
Romain Goyet
5c95ee85cb [LIBA] bool already exists in C++ 2015-09-01 22:58:28 +02:00
Romain Goyet
803ffda5bc Liba 2015-05-31 13:24:35 +02:00