[Uml-devel] #include cleaning

Sebastian Stein s5228 at informatik.htw-dresden.de
Mon Nov 4 12:45:09 UTC 2002


Jean Vittor <jean.vittor at wanadoo.fr> [021104 21:18]:
> Sorry for that. I have checked (of course) compilation passed on my 
> configuration : Mandrake 9.0 (if you need more about compiler versions, 
> just ask me).

Ok, lets look at one part of your patch:

Index: uml/classparser/ParsedMethod.h
===================================================================
RCS file: /cvsroot/uml/uml/uml/classparser/ParsedMethod.h,v
retrieving revision 1.3
diff -r1.3 ParsedMethod.h
21,22c21
< #include <qlist.h>
< #include "ParsedAttribute.h"
---
> //#include "ParsedAttribute.h"
23a23
> #include <qlist.h>


So in the end we remove the #include for ParsedAttribute.h. But class
ParsedMethod is derived from class ParsedAttribute. So the other possibility
would be, that ParsedAttribute is included in ParsedArgument.h, but it
isn't. So the definition of ParsedAttribute couldn't be known.

Please try to make a distclean and a clean configure with your patch
applied. I don't know why it works on your system, but it shouldn't.

> Can you tell me with wich compiler application is supposed to compile ?

I think gcc 2.95.x and above. So it might be a compiler thing but I'm pretty
sure that it is not correct at all.

Steinchen
-- 
Umbrello UML Modeller
Description     : UML diagram drawing tool for KDE with code generation
Homepage        : http://uml.sourceforge.net/
Bug report      : http://sourceforge.net/tracker/?group_id=24919&atid=382951
Feature request : http://sourceforge.net/tracker/?group_id=24919&atid=382954




More information about the umbrello-devel mailing list