openvoronoi icon indicating copy to clipboard operation
openvoronoi copied to clipboard

warnings about misleading indentation

Open esigra opened this issue 7 years ago • 3 comments

The build gives a lot of warnings about misleading indentation (-Wmisleading-indentation) for code like: if (step==current_step) return false; current_step++;

That should be fixed or silenced. (Maybe create a macro for that recurring code?)

esigra avatar Feb 22 '18 09:02 esigra

could you please state what os and what compiler you are using. thanks! I can only test on what is easily available on Ubuntu LTS.

aewallin avatar Feb 22 '18 13:02 aewallin

g++ (Gentoo 6.4.0-r1 p1.3) 6.4.0

esigra avatar Feb 22 '18 13:02 esigra

https://gcc.gnu.org/gcc-6/porting_to.html

esigra avatar Feb 23 '18 10:02 esigra