GCodeProjects / GCodeWorkShop

GCodeWorkShop is text editor for CNC programmers.
GNU Lesser General Public License v3.0
20 stars 7 forks source link

Compilation failure with GCC version >= 11: "ordered comparison of pointer with integer zero" #15

Closed zmaile closed 2 years ago

zmaile commented 2 years ago

GCC11 has deprecated a feature: Ordered pointer comparison with integer Details

This is causing compilation failure on Linux systems with GCC version >= 11 (Manjaro in my case). I'm also unsure how to force a specific version of GCC in qmake to workaround the issue, so I haven't tested that option

make.log .

u-235 commented 2 years ago

Hi.
Thanks for the detailed bug report. It will definitely be fixed, but unfortunately I don't have time right now.

u-235 commented 2 years ago

I hope that the bcabfb4 fixes this issue.

zmaile commented 2 years ago

It did, thank you.