Why is C90 enforced in KDE?

Allen Winter allen.d.winter at gmail.com
Sun Dec 6 16:13:07 GMT 2015


On Sunday, December 06, 2015 04:08:04 PM Antonio Rojas wrote:
> Hi,
>  Kipi-plugins fails to build with flex 2.6. This is due to the autogenerated 
> code in libpanorama containing //-style comments, which are disallowed in 
> C90. Adding -std=c99 to the CFLAGS at compile time doesn't have any effect, 
> since it is overriden by kdelibs (and by extra-cmake-modules in KF5). What 
> is the reason for this? And is there any way to force using C99?
> 
We have (had?) a policy that flex/yacc generated source files should be part of the repo.
do not make everyone run flex/yacc when building.






More information about the kde-core-devel mailing list