Re: not quite polymorphism

2010-11-02 Thread Andrew Bell
On Tue, Nov 2, 2010 at 2:46 PM, eric lin wrote: > > Dear gcc/g++ programers: > > that is in the book "Programming-Principle and practice using C++" 4th Ed., > Chapter 12, display model > I can not compile first example chapter.12.3 >                 or simplest    chapter.12.7.2 > by fltk 1.1.10

Re: not quite polymorphism

2010-11-02 Thread eric lin
Dear gcc/g++ programers: that is in the book "Programming-Principle and practice using C++" 4th Ed., Chapter 12, display model I can not compile first example chapter.12.3 or simplestchapter.12.7.2 by fltk 1.1.10 or 1.3 or 2.0 they all show name ambiguous "Window", since it

Re: not quite polymorphism

2010-11-01 Thread Ian Lance Taylor
"eric lin" writes: > I am using 4.4.3, could anyone have experience to use different(newer) > version of gcc/g++ so it can distinquish different useage of same > variable, i.e. Window, in my case without response by compile time > error? This question is not appropriate for the mailing list gcc@