https://bugs.kde.org/show_bug.cgi?id=357615

Sergey Kalinichev <kalinichev.s...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kalinichev.s...@gmail.com

--- Comment #5 from Sergey Kalinichev <kalinichev.s...@gmail.com> ---
Hi,
We already had such discussion some time ago. Generally I think it's not a very
good idea to determine language type solely on file extension (consider e.g.
*.h - very popular extension used both for c and c++, and I see no reliable way
how to distinguish it).

Also you can already select language per project, directory or file:
Project->Open configuration...->Language support->C/C++ parser. 
If anything we could use build manger to provide compiler invocation arguments,
when available.

> Leaks into *every* compiler invocation afaics. Shouldn't append -std=c++11 
> for C files, though.
Could you be more specific, please? I don't really understand what is leaked
and where...

> Shouldn't append -std=c++11 for C files, though.
Again, these arguments are fully configurable.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to