[Uml-devel] Include cleaning

Jonathan Riddell jr at jriddell.org
Thu Nov 14 06:31:05 UTC 2002


> >there's a number of
> >#include <qdatastream.h>
> >lines which have been removed from classes which do use the QDataStream
> >class
> If you take a look at dependency files (.deps/*.P) you will probably see
> that qdatastream.h is present when needed (that is the case on my config).

It may be present but if QDataStream is used then it's good practice to
have the associated #include file rather they rely on something else to
include it.

> >Also noticed #include <maths.h>
> >being removed from linepath which causes problems (of course it should be
> ><cmaths> anyway).
> I didn't have any problem. I did a make distclean, and rebuild all (I
> use gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)).
> If you encounter compilation problem, please let me know your compiler
> version (hope I will be able to test it on my computer).

gcc 2.95.4 on debian woody

That header is definatly needed for that file.

Jonathan Riddell






More information about the umbrello-devel mailing list