The updated compiler in the newer versions of the SDK have additional warnings, so to avoid an abort due to the -Werror flag, you can add -Wno-error=unused-variable and -Wno-error=parentheses to the CXXFLAGS line:
In the 747 release projects/mtg/Makefile:
Code: Select all
CXXFLAGS = -O2 -G0 -Wall -Werror -DDEVHOOK -DPSPFW3XX -fno-exceptions -Wno-error=unused-variable -Wno-error=parentheses
I'd also like to suggest this be considered as a possible update to the trunk going forward (or the removal of -Werror) as it brings the Makefile in line with more recent compiler versions.
-C