Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Some CGAL 4.4 Bug Fixes
- Date: Fri, 25 Apr 2014 12:22:48 +0200
- Organization: GeometryFactory
Hi Jeffrey,
With which version of the VC++ compiler does this happen?
And can you indicate for which example or demo coming
with CGAL you encounter this problem.
I ask as I can't reproduce it with VC11, neither for
examples/Polyhedron nor for demos/Polyhedron
Best regards,
Andreas
On 22/04/2014 18:35, Jeffrey Bush wrote:
Another problem with MSVC / Visual Studio is the Intellisense compiler always
fails during auto-linking, which makes Intellisense never work if you have
imported a CGAL header. Since it will never be linking (it only "compiles")
I think the best solution is to prevent it from auto-linking ever. Two
solutions below work equally well and it is mostly up to taste which to use:
include/CGAL/auto_link/auto_link.h@85:
- #ifndef CGAL_NO_AUTOLINK
+ #if !defined(CGAL_NO_AUTOLINK) && !defined(__INTELLISENSE__)
or somewhere in some config header (before any auto-linking):
+ #if defined(__INTELLISENSE__) && !defined(CGAL_NO_AUTOLINK)
+ #define CGAL_NO_AUTOLINK
+ #endif
After that I am able to use Intellisense with CGAL. Note that in the future
additional Intellisense problems may come up and there seems to be no good
way to test for them, so you will have to wait for users to complain. But
basically anything that checks defines related to linking will have
problems.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Some-CGAL-4-4-Bug-Fixes-tp4659159p4659177.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project
phone: +33.492.954.912 skype: andreas.fabri
- [cgal-discuss] Some CGAL 4.4 Bug Fixes, Jeffrey Bush, 04/19/2014
- Re: [cgal-discuss] Some CGAL 4.4 Bug Fixes, Jeffrey Bush, 04/22/2014
- Re: [cgal-discuss] Some CGAL 4.4 Bug Fixes, Andreas Fabri, 04/25/2014
- Re: [cgal-discuss] Some CGAL 4.4 Bug Fixes, Jeffrey Bush, 04/26/2014
- Re: [cgal-discuss] Some CGAL 4.4 Bug Fixes, Jeffrey Bush, 04/27/2014
- Re: [cgal-discuss] Some CGAL 4.4 Bug Fixes, Jeffrey Bush, 04/26/2014
- Re: [cgal-discuss] Some CGAL 4.4 Bug Fixes, Andreas Fabri, 04/25/2014
- Re: [cgal-discuss] Some CGAL 4.4 Bug Fixes, Andreas Fabri, 04/24/2014
- Re: [cgal-discuss] Some CGAL 4.4 Bug Fixes, Jeffrey Bush, 04/22/2014
Archive powered by MHonArc 2.6.18.