Skip to Content.
Sympa Menu

cgal-discuss - could not compile at x86-64_Linux-2.6 / GNU 3.4.6

Subject: CGAL users discussion list

List archive

could not compile at x86-64_Linux-2.6 / GNU 3.4.6


Chronological Thread 
  • From:
  • To:
  • Subject: could not compile at x86-64_Linux-2.6 / GNU 3.4.6
  • Date: Wed, 24 Oct 2007 18:05:28 +0200

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?


With besy regards, Ivan




Archive powered by MHonArc 2.6.16.

Top of Page