Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: There are many errors in threetuple.h
- Date: Mon, 10 Dec 2012 08:34:09 +0100
- Organization: GeometryFactory
The following is compiling on my machine:
#include <CGAL/Threetuple.h>
int main()
{
}
You need to describe exactly how you get this error with
a deprecated file [1] that should not be used (no CGAL
file includes it).
Sebastien.
[1] http://www.cgal.org/Manual/latest/doc_html/cgal_manual/STL_Extension_ref/Class_Threetuple.html
On 12/10/2012 07:45 AM, Cynthia wrote:
Here is the result.
1> 01.cpp
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (40): error
C2059: syntax error: '{'
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (44): see're
compiling class template instantiated "CGAL :: Threetuple<T>" reference
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (40): error
C2334: unexpected token "{" in front; skipping apparent function body
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C2327: CGAL :: Threetuple<T> :: e0: is not a type name, static, or
enumerator
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C2065: "a0": undeclared identifier
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C3861: "e0": can not find the identifier
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C4430: missing type specifier - assumed to be int. Note: C + + does not
support default-int
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C2061: syntax error: identifier "a1"
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C4430: missing type specifier - assumed to be int. Note: C + + does not
support default-int
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C2365: "CGAL :: Threetuple<T> :: e1": redefinition; previously defined data
members '
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (37): see
"CGAL :: Threetuple<T> :: e1" statement
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C2061: syntax error: identifier a2 "
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C4430: missing type specifier - assumed to be int. Note: C + + does not
support default-int
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C2365: "CGAL :: Threetuple<T> :: e2": redefinition; previous definition of
"data members '
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (37): see CGAL
:: Threetuple<T> :: e2 "statement
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C2143: syntax error: missing ';' ("{" in front of)
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (43): error
C2334: unexpected token "{" in front; skipping apparent function body
1> e: \ cga \ cgal \ cgal-4.1 \ include \ cgal \ threetuple.h (44): fatal
error C1075: left braces "{" (in "e: \ cga \ cgal \ cgal-4.1 \ include \
cgal \ threetuple.h (30) ") match before the end of the file is encountered
1> c3ga_element_optc.cpp
The .h file is from the process of installing CGAL.
I have tried to download the latest version, but it is the same.
Do I have to solve the errors myself? Then how to do with it?
Thank u so much~!
-----
Cynthia
Shanghai
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/There-are-many-errors-in-threetuple-h-tp4656364p4656365.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] There are many errors in threetuple.h, Cynthia, 12/10/2012
- [cgal-discuss] Re: There are many errors in threetuple.h, Cynthia, 12/10/2012
- Re: [cgal-discuss] Re: There are many errors in threetuple.h, Sebastien Loriot (GeometryFactory), 12/10/2012
- Re: [cgal-discuss] There are many errors in threetuple.h, Laurent Rineau (CGAL/GeometryFactory), 12/10/2012
- [cgal-discuss] Re: There are many errors in threetuple.h, Cynthia, 12/11/2012
- [cgal-discuss] Re: There are many errors in threetuple.h, Cynthia, 12/11/2012
- Re: [cgal-discuss] Re: There are many errors in threetuple.h, Laurent Rineau (CGAL/GeometryFactory), 12/11/2012
- [cgal-discuss] Re: There are many errors in threetuple.h, Cynthia, 12/11/2012
- Re: [cgal-discuss] Re: There are many errors in threetuple.h, Laurent Rineau (CGAL/GeometryFactory), 12/11/2012
- [cgal-discuss] Re: There are many errors in threetuple.h, Cynthia, 12/12/2012
- Re: [cgal-discuss] Re: There are many errors in threetuple.h, Laurent Rineau (CGAL/GeometryFactory), 12/12/2012
- [cgal-discuss] Re: There are many errors in threetuple.h, Cynthia, 12/12/2012
- Re: [cgal-discuss] Re: There are many errors in threetuple.h, Laurent Rineau (CGAL/GeometryFactory), 12/11/2012
- [cgal-discuss] Re: There are many errors in threetuple.h, Cynthia, 12/11/2012
- Re: [cgal-discuss] Re: There are many errors in threetuple.h, Laurent Rineau (CGAL/GeometryFactory), 12/11/2012
- [cgal-discuss] Re: There are many errors in threetuple.h, Cynthia, 12/11/2012
- [cgal-discuss] Re: There are many errors in threetuple.h, Cynthia, 12/11/2012
- [cgal-discuss] Re: There are many errors in threetuple.h, Cynthia, 12/10/2012
Archive powered by MHonArc 2.6.18.