Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Multiple Definitions Error with OFF_reader.h
- Date: Thu, 29 Nov 2018 11:51:54 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:atIQtRwg/tm7M5PXCy+O+j09IxM/srCxBDY+r6Qd2+0VIJqq85mqBkHD//Il1AaPAd2Lraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRH1likHOT43/mLZhMN+g61Uog6uqRNkzo7IYoyYLuZycr/TcN4YQ2dKQ8ZfVzZGAoO5d4YDAfcPMvhDoIbnvFsOsRq+CheqBOjyzDFIgWX23aw90+Q9DArK2A0uEMwJsHTRstr1KL0SUOC1wqbS0TrDc/RW2S396YTNfBwqvPaBXal0ccrW00kvFgTFjkmKpYzgOzOYzesNs22B4OphUeKjkXIoqwZ0ojW2wMonl4fHhoUQyl/e9CV5xp44JduiR0FgetGkFIVfuzuGOItxR8MuW25ouCcmyr0GpJ60ZzIGx4ggxx7abfGMbouG4gr7WeqPPTt1gGhpdbG/ihqo7ESty+zxWtO03VpWtiZJjMTAumwX2xDO68WLV+Fx8lqh1DuMzQzf9+5JLV4ymKHGMZAu2KQwmYAWsUnbHi/5hkH2jKiOe0Uh4Oeo6uDnbqznpp+bKoN4kw/+P6QylsClDuQ4NQ8OX2ef+euizrHs4Ur5QLBSgv03lKnWrozaKNwFqqKlBwJZyIUu5halAzu70dkVnGMLIVJZdB6fiojmIVDOIPT2DfelhFSslS9mx+vCPr3mGJXNL3/DkKv7cbZ4705R0wUzzdVF6JJVDrENOu78Wkj0tNDAFB82LxS0w/r7CNV6zo4RRW2PDbWdMK/LrFCI5/kvLPWRZI8OozbwMOMl5v7rjX8hg1ARZ6ip3Z0NaHC5BPtqOUuZYWC/yusGRGwFtw57QO3xg0CZShZSYWyzVuQy/GIVEoWjWM34S4qkm6CA0SHzOppMZ2daQhCjHHDtepmeStkFYz6VON4g2HRQTrymUY4myVersCf1zrNmKqzf/ShO5sGr78R8++CGzUJ6zjdzFcnIizjcHVExpXsBQnoN5I46pEV8zlmZ1q0h2q5XENVS47VCVQJobMeAndw/MMj7X0f6RvnMUEyvG4z0DjQ4T9Z3yNgLMR4kRoeSyyvb1i/vOIc70ryGAJtur/DZ1nn1Ysd6kjPIifFngF4hTc9Cc2ahg/wn+g==
I don't remember anybody answering you but it has been fixed
in the 4.12 branch by
https://github.com/CGAL/cgal/pull/3372
Thanks for the report,
Sebastien.
On 10/4/18 7:04 PM, dlenz wrote:
Hi there,
I've run into an issue when including <CGAL/IO/OFF_reader.h> multiple times
into my project - the linker complains of multiple definitions of
read_OFF_internal::fill_point.
The issue is similar to this one:
http://cgal-discuss.949826.n4.nabble.com/multiple-definitions-problem-td2528193.html
Looking into the source, it seems read_OFF_internal::fill_point and
read_OFF_internal::resize are not templated or otherwise dodging the
multiple definition problem, so this makes sense. There may be other
functions in this file with the same issue, I'm not sure.
I can work around this by being careful with my #includes, but wanted to
bring it to your attention, since as mentioned earlier there's no existing
way to catch this automatically.
If I encounter this problem with other files, should I also submit to this
email list? Is there a preferred way to address this issue?
Thanks for all of your great work on this project,
David
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- Re: [cgal-discuss] Multiple Definitions Error with OFF_reader.h, Sebastien Loriot (GeometryFactory), 11/29/2018
Archive powered by MHonArc 2.6.18.