I'm compiling version .105 of MAME, and I'm hitting an error.
This is a test of the environment. I didn't apply any changes. I followed the steps on MrDo's compile page http://www.mameworld.net/mrdo/compile.html. I did it twice on 2 different computers to make sure I wasn't missing any steps. I'm fairly certain I'm doing everything as MrDo has listed, but I get the error that I attached to this message.
You guys have any suggestions?
This is a problem with the new version of MinGW compiling older versions of Mame. You will need to open your makefile and change the following:
Remove "-Werror" and "-Wno-unused-functions".
If you use "Mame Compiler" it will do this for you if you select the "Disable WError (<0.118u5)" option.
This sounds promising. Ok, so I opened makefile and I want to make sure I'm doing the right thing. I just want to delete the -werror line or just the -werror text? Here is the section I'm looking at:
#-------------------------------------------------
# compile and linking flags
#-------------------------------------------------
CFLAGS = -std=gnu89 -Isrc -Isrc/includes -Isrc/$(MAMEOS)
ifdef SYMBOLS
CFLAGS += -O0 -Wall -Wno-unused -g
else
CFLAGS += -DNDEBUG \
$(ARCH) -O3 -fno-strict-aliasing \
-Werror -Wall \
-Wno-sign-compare \
-Wno-unused-functions \
-Wpointer-arith \
-Wbad-function-cast \
-Wcast-align \
-Wstrict-prototypes \
-Wundef \
-Wformat-security \
-Wwrite-strings \
-Wdeclaration-after-statement
endif