aewallin / openvoronoi

2D voronoi diagram for point and line-segment sites using incremental topology-oriented algorithm. C++ with python bindings. Licensed under LGPL2.1.
http://www.anderswallin.net/cam/
GNU Lesser General Public License v2.1
198 stars 68 forks source link

warnings about misleading indentation #31

Open esigra opened 6 years ago

esigra commented 6 years ago

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?)

aewallin commented 6 years ago

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.

esigra commented 6 years ago

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

esigra commented 6 years ago

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