KDE/kdevelop/languages/cpp/expressionparser

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


On Jun 20, 2007, at 3:47 AM, Andreas Pakulat wrote:

> On 19.06.07 19:56:33, Matt Rogers wrote:
>> On Jun 19, 2007, at 6:06 AM, Andreas Pakulat wrote:
>>> SVN commit 677550 by apaku:
>>>
>>> Make dashboard happy.
>>>
>>> I think we should compile kdevelop and kdevplatform using -pedantic
>>> (thats what
>>> dashboard uses), just add -DCMAKE_CXX_FLAGS=-pedantic to the cmake
>>> call.
>>>
>>> @David: I understand why you put a ; after macros, but whats the
>>> purpose of ; after a namespace-closing-brace??
>>>
>>> CCMAIL:kdevelop-devel at kdevelop.org
>>>
>>
>> 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. ;)
>
> The thing is, dashboard is using -pedantic, so everytime we check in
> something that works without, but not with dashboard (like extra ;  
> after
> a namespace or macro) we break the build on dashboard and somebody has
> to sit down, go to the source and fix it. IMHO its easier to compile
> with -pedantic and then change those things bevfore comitting.
>
> Andreas
>
> -- 

Even so, that's no substitute for correctly learning and using C++.
--
Matt






More information about the KDevelop-devel mailing list