ricardoquesada / vchar64

editor for the Commodore 64
http://retro.moe/tag/vchar64/
Other
91 stars 12 forks source link

Build failure on Linux caused by pointless -Werror cflag #61

Closed dani-corie closed 4 years ago

dani-corie commented 4 years ago

So... I just built vchar64 on Ubuntu 20.04, but I had to edit the src.pro file. It has the following clause:

!win32 {
    QMAKE_CXXFLAGS += -Werror
}

I have not the least idea what purpose it serves, other than making sure that lamers can't build the tool on non-Windows platforms. :P At first I thought that it's just gcc9 that throws warnings, but gcc7 does so too. Essentially, this clause has no reason to be there, and by deleting it I got vchar64 to build and run, no questions asked. Please do remove it from upstream. :P

ricardoquesada commented 4 years ago

thanks. you are right... it is throwing too many warnings (deprecated functions and more)...