From: Daniel Karbach Date: Mon, 3 Sep 2012 20:12:51 +0000 (+0200) Subject: set -Werror compiler flag for loader subdir X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=305affd21380ffee1f99b8a01205dd3f29d0cb88;p=l2e.git set -Werror compiler flag for loader subdir --- 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 ' '