Re: FTB due to 'too many arguments to function'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux