From 305affd21380ffee1f99b8a01205dd3f29d0cb88 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Mon, 3 Sep 2012 22:12:51 +0200 Subject: [PATCH] set -Werror compiler flag for loader subdir --- Debug/src/loader/subdir.mk | 2 +- Release/src/loader/subdir.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Debug/src/loader/subdir.mk b/Debug/src/loader/subdir.mk index 19b1d87..bebb9ab 100644 --- a/Debug/src/loader/subdir.mk +++ b/Debug/src/loader/subdir.mk @@ -29,7 +29,7 @@ CPP_DEPS += \ src/loader/%.o: ../src/loader/%.cpp @echo 'Building file: $<' @echo 'Invoking: GCC C++ Compiler' - g++ -I/usr/include/SDL -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" + g++ -I/usr/include/SDL -O0 -g3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' diff --git a/Release/src/loader/subdir.mk b/Release/src/loader/subdir.mk index c619e85..d4a6685 100644 --- a/Release/src/loader/subdir.mk +++ b/Release/src/loader/subdir.mk @@ -29,7 +29,7 @@ CPP_DEPS += \ src/loader/%.o: ../src/loader/%.cpp @echo 'Building file: $<' @echo 'Invoking: GCC C++ Compiler' - g++ -I/usr/include/SDL -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" + g++ -I/usr/include/SDL -O3 -Wall -Werror -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<" @echo 'Finished building: $<' @echo ' ' -- 2.39.2