Bug 89550 - Problem reporter erroneously requires a terminating ";" for macro calls
Summary: Problem reporter erroneously requires a terminating ";" for macro calls
Status: RESOLVED DUPLICATE of bug 132643
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 3.1
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-15 11:04 UTC by Michael Altmann
Modified: 2013-03-31 00:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Altmann 2004-09-15 11:04:29 UTC
Version:           3.1 (using KDE KDE 3.3.0)
Installed from:    Compiled From Sources
Compiler:          gcc-2.95.3 Used ./configure option --with-gnu-ld
OS:                Solaris

Some libraries (e. g. ACE/TAO) contains macros which expands to statements including the 
terminating semicolon. Calling these macros without a terminiating semicolon after the
right bracket conforms to ANSI C/C++, but the integrated Editor of KDevelop alerts an error.

Adding an extra semicolon to such macro calls would cause linting tools (e. g. FlexeLint)
to issue a complaint about useless statements.
Comment 1 Amilcar do Carmo Lucas 2004-09-15 11:42:14 UTC
I'm sure you meant "Problem reporter", the editor does not give out error messages.
Comment 2 Michael Altmann 2004-09-15 12:50:59 UTC
Hi Amilcar, 

Amilcar do Carmo Lucas writes: 

> I'm sure you meant "Problem reporter", the editor does not give out error
> messages.

That's correct, the editor only highlight the resulting syntax error. 

Regards, 

Michael Altmann 

--  

Diese E-Mail enth
Comment 3 Jens Dagerbo 2006-12-29 09:51:06 UTC
Problem is with the parser, not the Problems display widget.
Comment 4 Jens Dagerbo 2007-01-07 05:02:11 UTC
I believe we've delt with this problem as much as we reasonably can in KDevelop3. See comment #3 in bug #132643. 

*** This bug has been marked as a duplicate of 132643 ***
Comment 5 Aleix Pol 2013-03-31 00:52:36 UTC
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively