> indi-3rdparty-drivers:
> error: expected ‘;’, identifier or ‘(’ before ‘bool’
> Looks like the syntax 'typedef enum { FALSE, TRUE } bool;' is no more 
> accepted, but searching in the net it was perfectly fine.

Looking at the build logs, it seems that while a standard is explicitly
provided for C++ sources (-std=gnu++14), this is not the case for C sources.
GCC15 changed the default standard to gnu23, and the C23 standard made "bool"
a keyword, so it's disallowed to define a custom type with the name "bool".

A.FI.
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to