This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11404] New: same mangled name when compiling CGAL-2.4
- From: "decoret at graphics dot lcs dot mit dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2003 14:38:26 -0000
- Subject: [Bug c++/11404] New: same mangled name when compiling CGAL-2.4
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11404
Summary: same mangled name when compiling CGAL-2.4
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: decoret at graphics dot lcs dot mit dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
When trying to use the CGAL 2.4 library, the compilation ends with the following
message:
/opt/CGAL-2.4/include/CGAL/Triangulation_line_face_circulator_2.h:123: error:
due to a defect in the G++ 3.2 ABI, G++ has assigned the same mangled name to
two different types.
To reproduce the bug requires to install CGAL 2.4 (www.cgal.org) in
/opt/CGAL-2.4/ and compile the following dummy main.C
#include <CGAL/Triangulation_2.h>
int main()
{
return 0;
}
with:
g++ -c -pipe -O2 \
-D_REENTRANT \
-DCGAL_NO_PRECONDITIONS -DCGAL_NO_POSTCONDITIONS -DCGAL_NO_ASSERTIONS \
-I/opt/CGAL-2.4/include\
-I/opt/CGAL-2.4/include/CGAL/config/i686_Linux-2.4.20-13.8_g++-3.3.0 \
main.C
the second -I have to be tuned according to the name produced by the CGAL install.