Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] could not compile at x86-64_Linux-2.6 / GNU 3.4.6

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] could not compile at x86-64_Linux-2.6 / GNU 3.4.6


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] could not compile at x86-64_Linux-2.6 / GNU 3.4.6
  • Date: Thu, 25 Oct 2007 16:21:34 +0200
  • Organization: INRIA


a écrit :
I am trying to use FastJet program
(http://www.lpthe.jussieu.fr/~salam/fastjet)
whcih in turn uses CGAL library.
Unfortunately I cannot compile it auth GNU compiler 3.4.6 at
86-64_Linux-2.6 platform due to extra semicolumns in the macro defitions for
CGAL_DEFINE_COERCION_TRAITS_*
These macros end with semicolumn, and the additional semicolumns are added in
many placed where they are used just after the invokation macros. As a result
I've got many compilation errors of the type:

/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:40:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:41:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:42:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:43:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:45:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:50:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:51:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:52:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:55:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:56:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:57:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:58:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:59:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:62:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:63:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:64:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:65:
error: extra `;'
/afs/cern.ch/user/i/ibelyaev/cmtuser/DaVinci_v19r5/external/cgal/3.3.1/slc4_amd64_gcc34/include/CGAL/Gmp_coercion_traits.h:66:
error: extra `;'

I am using CGAL version 3.3.1 and the following setup of the system
(the extractin from install.log file):

OS is x86-64_Linux-2.6.
g++ is /usr/bin/g++.
gcc is /usr/bin/gcc.
Compiler version test compiled.
Found compiler GNU 3.4.6.
Choosing GNU 3.4.6 as compiler.

Is is the known problem?

No. Easy to fix though, so it will be taken care of for the future.
Do you use any particular compiler option to see this?

--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.16.

Top of Page