Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Bug

Subject: CGAL users discussion list

List archive

[cgal-discuss] Bug


Chronological Thread 
  • From: Mauricio de Paulo <>
  • To:
  • Subject: [cgal-discuss] Bug
  • Date: Wed, 21 Mar 2012 14:31:43 -0300

Hi everyone,
I think i've bumped into a bug. I was creating a class that used the line/arc arrangement modules and the compiler started complaining about multiple definitions.

Following the discussion bellow I found that inlining solved the compilation bug.
http://cgal-discuss.949826.n4.nabble.com/multiple-definitions-problem-td2528193.html

So, on file Arr_circular_line_arc_traits_2.h line 510 i inlined the function:

namespace internal_Argt_traits{
struct Not_X_Monotone{};
inline std::ostream& operator<<(std::ostream& os,const Not_X_Monotone&) {return os;}
}

And now it seems to compile. Is it really a bug?

--
Mauricio C. M. de Paulo
Engenheiro Cartógrafo
Mestrando em Sensoriamento Remoto (INPE)




Archive powered by MHonArc 2.6.16.

Top of Page