https://bugs.kde.org/show_bug.cgi?id=357615
Bug ID: 357615 Summary: C file parsed as a C++ file Product: kdevelop Version: git master Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Language Support: CPP (Clang-based) Assignee: kdevelop-bugs-n...@kde.org Reporter: arkang...@gmail.com The following simple valid C code yields errors on the parser: typedef enum { Zero, One } blaaa; static const blaaa b = 0 == 1; Since "blaa b" cannot be initialised with a "bool" constant. This is valid C, but not C++. The IDE should use the file extension to change the source language type. Reproducible: Always -- You are receiving this mail because: You are watching all bug changes.