﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
21917	7zip-25.00 build fail	zeckma	Douglas R. Reno	"A user on the LFS Discord brought this issue to me.

Currently, 7zip uses Werror. Something else is that the for loop we employ does not catch errors, but can be circumvented by doing `bash -e` or `set -e` for the for loop specifically.

The end result is:
{{{
../../UI/Common/ArchiveExtractCallback.cpp:68:11: error: macro ‘REPLACE_SLASHES_from_Linux_to_Sys’ is not used [-Werror=unused-macros]
   68 |   #define REPLACE_SLASHES_from_Linux_to_Sys(s)
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make: *** [../../7zip_gcc.mak:884: b/g/ArchiveExtractCallback.o] Error 1
make: *** Waiting for unfinished jobs....
}}}

However, the process will then read the next make file as if the error didn't happen. The error still occurs and we should fix this. The macro from what I heard actually appears in other files, so we can't just remove the macro. But turning Werror off should be sufficient."	enhancement	closed	normal	12.4	BOOK	git	medium	fixed		
