Open afabri opened 2 years ago
This is a waste of time, all those recent optimization-based warnings in gcc are super fragile and chasing the myriad of false positives that they generate is not useful. I suggest disabling them globally for now. If you can get an error at runtime with some debug mode, then we can investigate.
Those warnings are triggered by the code of determinant
:
https://github.com/CGAL/cgal/blob/fbcf90c5b75ac716e6423624f7a7b80ca4d326f2/NewKernel_d/include/CGAL/NewKernel_d/LA_eigen/LA.h#L114-L163
@mglisse: Do you want to disable -Warray-bound
:
determinant
, using local pragmas?I want to disable it (and -Wmaybe-uninitialized, etc) globally in gcc... (well at least move it from Wall to Wextra where it would do a bit less damage) I don't have a strong opinion what to do in cgal, as long as I don't have to deal with it personally. Your call.
Issue Details
It would be good to understand where the warnings come from, to see if we have to fix something or suppress it.
in the NewKernel_d and in the Triangulation testsuites.
Environment
See the platform