← Back to team overview

yade-users team mailing list archive

Re: [Question #266037]: CGAL ERROR: assertion violation!

 

I would escape adding any such options, which can
influence mathematical calculations,  until
we find, where is the problem and how much
people are affected and on which OSs.

Anton


2015-04-30 19:08 GMT+02:00 Janek Kozicki <janek_listy@xxxxx>:
> @@ -65,9 +65,9 @@ IF ("${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1}" MATCHES ".*clang")
>  ELSE()
>    IF (GCC_VERSION VERSION_GREATER 4.9 OR GCC_VERSION VERSION_EQUAL 4.9)
>      MESSAGE(STATUS "GCC Version >= 4.9. Adding -fstack-protector-strong")
> -    ADD_DEFINITIONS("-fstack-protector-strong")
> +    ADD_DEFINITIONS("-fstack-protector-strong -frounding-math")
>    ELSE()
> -    ADD_DEFINITIONS("-fstack-protector")
> +    ADD_DEFINITIONS("-fstack-protector -frounding-math")
>    ENDIF()
>  ENDIF()


Follow ups

References