This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "error: there are no arguments to..." in my code


ok, I will try. but how about "-fpermissive"? How ca I use it?



corey taylor wrote:
> 
> On Nov 17, 2007 4:30 AM, mahmoodn <nt_mahmood@yahoo.com> wrote:
>>
>> template <class Gt, class Tds >
>> typename Triangulation_2<Gt, Tds>::Finite_edges_iterator
>> Triangulation_2<Gt, Tds>::
>> finite_edges_begin() const
> 
> It looks like finite_edges_begin() returns a different type here than
> Sdg_2::Finite_edges_iterator eit.
> 
> Does Segment_Delaunay_graph_hierarchy_2 derive from Triangulation_2?
> 
> If it is based on Triangulation_2 and if you read the link I sent,
> you'll see that the call to finite_edges_begin() is probably
> non-dependent and so needs to have
> YourBaseClass<YuorTemplateTypenames>:: or this-> in front of it.
> 
> corey
> 
> 

-- 
View this message in context: http://www.nabble.com/%22error%3A-there-are-no-arguments-to...%22-in-my-code-tf4825748.html#a13808792
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]