Hi,
Do you have "Use fast but imperfect dependency checking" unchecked in
Compiler Options ?
Greetings,
Colin
ps: next time please report bugs at http://bloodshed.net/bugs instead of this
list
On Tuesday 30 September 2003 11:26, you wrote:
> Hi, ALL!
>
> Strange problem with DEV-CPP 4.9.8.3.
>
> I use precompiler directive #warning to comment
> important points in code.
> Dev-Cpp 4.9.8.3 makes bad makefile when #warning in used.
>
> Test source code:
> ------------------------------------------
> int main(int argc, char *argv[])
> {
> #warning "MyComment"
> return 0;
> }
> -------------------------------------------
>
>
> built makefile
> -------------------------------------------
> # Project: Warn2Mak
> # Makefile created by Dev-C++ 4.9.8.3
>
> CPP = g++.exe
> CC = gcc.exe
> WINDRES = windres.exe
> RES =
> OBJ = main.o $(RES)
> LINKOBJ = main.o $(RES)
> LIBS = -L"D:/LANG/MinGW3001/lib"
> INCS = -I"D:/LANG/MinGW3001/include"
> CXXINCS = -I"D:/LANG/MinGW3001/include/c++" -I"D:/LANG/MinGW3001/include"
> BIN = Warn2Mak.exe
> CXXFLAGS = $(CXXINCS)
> CFLAGS = $(INCS)
>
> .PHONY: all all-before all-after clean clean-custom
>
> all: all-before Warn2Mak.exe all-after
>
>
> clean: clean-custom
> rm -f $(OBJ) $(BIN)
>
> $(BIN): $(LINKOBJ)
> $(CC) $(LINKOBJ) -o "Warn2Mak.exe" $(LIBS)
>
> main.o: main.c main.c:3:2: warning: #warning "MyComment"
> $(CC) -c main.c -o main.o $(CFLAGS)
>
> --------------------------------------------
>
> I attach test project.
>
> Any suggestions?
> Thanks in advance
> Collins
----------------------------------------
Content-Type: application/x-zip-compressed; charset="iso-8859-2";
name="Warn2Mak.zip"
Content-Transfer-Encoding: base64
Content-Description:
----------------------------------------
|