Bug 71536

Summary: disable C++ menu choices while editing C code
Product: [Applications] kdevelop Reporter: Jon Smirl <jonsmirl>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal CC: esigra
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jon Smirl 2003-12-31 04:58:16 UTC
Version:           CVS (using KDE Devel)

Edit->Complete text 
Edit->Make Member
Project-New Class

I think these are all used in C++ programs. They don't seems to do anything in my C code. They should probably be disabled when editing C code.

The Complete text function gives a messed up identifier list in C. I think it is trying to parse C as C++. C++ keywords are fair game for use in C programs. Using these keywords as variable messes up the parser.
Comment 1 Jens Dagerbo 2006-04-18 22:35:36 UTC

*** This bug has been marked as a duplicate of 57156 ***