RE: Please help with these two errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Why do you have "typename" here?

Hi,
realy I don't know!! I did not write this code but it could be compiled with
previous versions of gcc.

shall I remove typename?:confused:


John (Eljay) Love-Jensen wrote:
> 
> Hi mahmoodn,
> 
> class Circular_arc_2 : public Vertex_feature_2
> {
>     virtual typename Vertex_feature_2::Type type () const
>     {
>       return (CIRCULAR);
>     }
> }
> 
> Why do you have "typename" here?
> 
> --Eljay
> 
> 

-- 
View this message in context: http://www.nabble.com/Please-help-with-these-two-errors-tp14787660p14796132.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux