Subject: CGAL users discussion list
List archive
- From: Costas Tsirogiannis <>
- To:
- Subject: Re: [cgal-discuss] Adding the -std=gnu++0x option
- Date: Mon, 11 Apr 2011 19:30:18 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=rnmBne9geIHD/OQ25+to5vVlEqVqi93kWh5zUEbAGAwZ62PJEJW4IcAgPzAnXnN9ib CC3/QtZJsZ7tqDVzxzmmrhV10yECNjnE5ModIONmQJQogGOL+TTApqT7+BNqooqVC8bg jcSB1OfM6sCJBZfsuBmKxCQlAbws1TW+lDU3E=
Indeed the mistake was in my code, there was something wrong with initialising the gaussian random generator of boost. Sorry for the cryptic description of the problem and thanks for the help.
Constantinos
On Mon, Apr 11, 2011 at 7:44 PM, Sebastien Loriot (GeometryFactory) <sloriot.ml@gmail.com> wrote:
A bug in your code? ;)On 04/11/2011 03:59 PM, Costas Tsirogiannis wrote:
Greetings,
I want to use the normal distribution random generator of Boost among
with CGAL based code. Compiler says that I have to insert either the "
-std=c++0x " compiler option or " -std=gnu++0x " . So then I just add at
cmakelists.txt the following:
set(CMAKE_CXX_FLAGS_RELEASE "-Wall -std=gnu++0x ${CMAKE_CXX_FLAGS_RELEASE}")
the code compiles but I get a floating point exception at run time.
Would anybody know what is wrong here?
I cannot guess without a minimal example.
S.
thanks,
Constantinos
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss] Adding the -std=gnu++0x option, Costas Tsirogiannis, 04/11/2011
- Re: [cgal-discuss] Adding the -std=gnu++0x option, Sebastien Loriot (GeometryFactory), 04/11/2011
- Re: [cgal-discuss] Adding the -std=gnu++0x option, Costas Tsirogiannis, 04/11/2011
- Re: [cgal-discuss] Adding the -std=gnu++0x option, Sebastien Loriot (GeometryFactory), 04/11/2011
Archive powered by MHonArc 2.6.16.