[Uml-devel] Diagram -> Umbrello::Diagram

Jonathan Riddell jr at jriddell.org
Tue Apr 27 06:01:07 UTC 2004


On Fri, Apr 16, 2004 at 12:12:07AM +0200, Raymond Bosman wrote:

> My compiler doesn't agree with the current source in the CVS :-).
> 
> But changing line 380 from umllistview.cpp 
> 
> void UMLListView::diagramCreated(Diagram* /* d */) {
> 
> to:
> void UMLListView::diagramCreated(Umbrello::Diagram* /* d */) {
> 
> makes a world of difference. 
> 
> 
> For those who care, the gcc error message:
> 
> umllistview.cpp:380: error: use of `Diagram' is ambiguous
> umllistview.h:31: error:   first declared as `struct Umbrello::Diagram' here
> optionstate.h:33: error:   also declared as `enum Settings::Diagram' here

I don't get this problem, which version of gcc are you using?

Thanks

Jonathan Riddell




More information about the umbrello-devel mailing list