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

Raymond Bosman bosman at hetnet.nl
Tue Apr 27 14:24:11 UTC 2004


Hi, 

I think Oliver already fixed the problem:

> 16/04/04 01:08
>
> CVS commit by okellogg: 
>
> Remove "using namespace Settings" from settingsdlg.h.
> Thanks to Raymond Bosman for motivating this.
>
>
> M +23 -23    settingsdlg.cpp   1.22
>  M +5 -7      settingsdlg.h   1.13

So mentioning that I use gcc version 3.3.2 is probably useless.

Raymond.


On Tuesday 27 April 2004 15:00, Jonathan Riddell wrote:
> 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