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

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

 



I use  OS: i686_Linux-2.6  and  Compiler: GNU 3.4.2 
for the code bellow:
      typedef Segment_Delaunay_graph_hierarchy_2 <Sdg_traits_2,
CGAL::Tag_true, Sdg_ds_2>      Sdg_2;
      typename  Sdg_2::Finite_edges_iterator eit;
      for (eit = finite_edges_begin(); eit != finite_edges_end(); ++eit)
            _compute_primal_edge (*eit, edges);

it says:
../../include/CGAL/Polygon_Voronoi_diagram_2.h:331:error: there are no
arguments to `finite_edges_begin' that depend on a template parameter, so a
declaration of `finite_edges_begin' must be available
../../include/CGAL/Polygon_Voronoi_diagram_2.h:331: error: (if you use
`-fpermissive', G++ will accept your code, but allowing the use of an
undeclared name is deprecated)


what should I do to correct it? How can I use -fpermissive?

-- 
View this message in context: http://www.nabble.com/%22error%3A-there-are-no-arguments-to...%22-in-my-code-tf4825748.html#a13807000
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