Re: [AD] Allegro 4.2.0 RC2 |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
This is fix for one warning caused by using useless g++ parameter in
C++. My strong belief is that WARNMODE should not produce warnings by
itself.
--
Regards,
Michal
ICQ# 175762750
--- makefile.mgw.old Sun Aug 28 18:46:52 2005
+++ makefile.mgw Sun Aug 28 20:03:08 2005
@@ -360,7 +360,7 @@
$(CC) $(COMPILE_FLAGS) -I. -I./include -o $@ -c $<
$(OBJ_DIR)/%.o: %.cpp
- $(CC) -fno-exceptions $(COMPILE_FLAGS) -I. -I./include -o $@ -c $<
+ $(CC) -fno-exceptions $(subst -Wstrict-prototypes,,$(COMPILE_FLAGS)) -I. -I./include -o $@ -c $<
$(OBJ_DIR)/%.o: %.s
$(CC) $(SFLAGS) -I. -I./include -x assembler-with-cpp -o $@ -c $<