Closed sneakernets closed 4 months ago
It was a single assert
macro becoming nothing in case of release building. Hopefully fixed, but apparently I can't catch it when developing locally. I'm going to check the GitHub actions and see if I can catch it there.
More problems going on:
/home/pi/Code/eureka-editor/src/w_wad.cc: In member function ‘int64_t Lump_c::getName8() const’:
/home/pi/Code/eureka-editor/src/w_wad.cc:179:9: error: ‘char* strncpy(char*, const char*, size_t)’ specified bound 8 equals destination size [-Werror=stringop-truncation]
strncpy(buffer.cbuf, Name().c_str(), 8);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function ‘int64_t Lump_c::getName8() const’,
inlined from ‘void Wad_file::writeToPath(const SString&) const’ at /home/pi/Code/eureka-editor/src/w_wad.cc:968:29:
/home/pi/Code/eureka-editor/src/w_wad.cc:179:9: error: ‘char* strncpy(char*, const char*, size_t)’ specified bound 8 equals destination size [-Werror=stringop-truncation]
strncpy(buffer.cbuf, Name().c_str(), 8);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors