KDE/kdevelop/languages/cpp/expressionparser

Matt Rogers mattr at kde.org
Thu Jun 21 13:10:08 UTC 2007


On Jun 20, 2007, at 6:50 AM, David Nolden wrote:

> On Wednesday 20 June 2007 02:56:33 Matt Rogers wrote:
>> I think we should better learn C++ as that will tell us where we can
>> use semicolons and where we should avoid them. ;) But using -pedantic
>> doesn't hurt either. ;)
>> --
>> Matt
>>
>
> Where does c++ tell me to avoid semicolons after namespaces?
>
> However I'll try to avoid breaking dashboard in the future..
>
> greetings, David

You never need semi-colons after the curly braces except for the  
closing curly brace when defining a class. the newer gcc versions  
(especially 4.2) are incredibly strict about this
--
Matt






More information about the KDevelop-devel mailing list