Function pointers
David Nolden
david.nolden.kdevelop at art-master.de
Wed Sep 9 07:43:15 UTC 2009
Am Sonntag 06 September 2009 01:58:47 schrieb Christoph Bartoschek:
> Am Sonntag, 6. September 2009 schrieb David Nolden:
> > I guess the better way would be turning that assertion back into a
> > warning, and turning the other assertion a warning as well instead. C++
> > is very complex, and we never know what kind of strange code we will
> > still be facing, so it's always better not to crash..
>
> If the abstract type stored in a FunctionDeclaration is allowed to be ever
> different from FunctionType, this would be better. But then it is not
> necessary to issue a warning.
>
> However if you feel that the code should never exit because of an assertion
> I could change the patch.
Yes that would be better. At least not _this_ code.
Greetings, David
More information about the KDevelop-devel
mailing list