Skip to content

Commit

Permalink
Merge pull request #1879 from MartinNowak/enableDeprecationWarnings
Browse files Browse the repository at this point in the history
show deprecation warnings in phobos
  • Loading branch information
9rnsr committed Jan 25, 2014
2 parents 5b1aa8b + 18d79dc commit e8c4a33
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions posix.mak
Expand Up @@ -91,7 +91,7 @@ SRC_DOCUMENTABLES = index.d $(addsuffix .d,$(STD_MODULES) $(STD_NET_MODULES) $(S
STDDOC = $(DOCSRC)/std.ddoc
BIGSTDDOC = $(DOCSRC)/std_consolidated.ddoc
# Set DDOC, the documentation generator
DDOC=$(DMD) -m$(MODEL) -w -d -c -o- -version=StdDdoc \
DDOC=$(DMD) -m$(MODEL) -w -c -o- -version=StdDdoc \
-I$(DRUNTIME_PATH)/import $(DMDEXTRAFLAGS)

# Set DRUNTIME name and full path
Expand Down Expand Up @@ -129,7 +129,7 @@ ifneq (,$(filter cc% gcc% clang% icc% egcc%, $(CC)))
endif

# Set DFLAGS
DFLAGS=-I$(DRUNTIME_PATH)/import $(DMDEXTRAFLAGS) -w -d -m$(MODEL) $(PIC)
DFLAGS=-I$(DRUNTIME_PATH)/import $(DMDEXTRAFLAGS) -w -m$(MODEL) $(PIC)
ifeq ($(BUILD),debug)
DFLAGS += -g -debug
else
Expand Down
16 changes: 8 additions & 8 deletions win32.mak
Expand Up @@ -38,13 +38,13 @@ CFLAGS=-mn -6 -r

## Flags for dmd D compiler

DFLAGS=-O -release -w -d
#DFLAGS=-unittest -g -d
#DFLAGS=-unittest -cov -g -d
DFLAGS=-O -release -w
#DFLAGS=-unittest -g
#DFLAGS=-unittest -cov -g

## Flags for compiling unittests

UDFLAGS=-O -w -d
UDFLAGS=-O -w

## C compiler

Expand Down Expand Up @@ -426,7 +426,7 @@ cov : $(SRC_TO_COMPILE) $(LIB)
$(DMD) -cov=62 -unittest -main -run std\encoding.d
$(DMD) -cov=61 -unittest -main -run std\xml.d
$(DMD) -cov=79 -unittest -main -run std\random.d
$(DMD) -cov=92 -unittest -main -d -run std\exception.d
$(DMD) -cov=92 -unittest -main -run std\exception.d
$(DMD) -cov=73 -unittest -main -run std\concurrency.d
$(DMD) -cov=95 -unittest -main -run std\datetime.d
$(DMD) -cov=96 -unittest -main -run std\uuid.d
Expand All @@ -443,7 +443,7 @@ cov : $(SRC_TO_COMPILE) $(LIB)
$(DMD) -cov=53 -unittest -main -run std\socket.d
$(DMD) -cov=0 -unittest -main -run std\socketstream.d
$(DMD) -cov=88 -unittest -main -run std\container.d
$(DMD) -cov=90 -unittest -main -d -run std\conv.d
$(DMD) -cov=90 -unittest -main -run std\conv.d
$(DMD) -cov=0 -unittest -main -run std\zip.d
$(DMD) -cov=92 -unittest -main -run std\cstream.d
$(DMD) -cov=77 -unittest -main -run std\regex.d
Expand Down Expand Up @@ -650,7 +650,7 @@ $(DOC)\std_stdio.html : $(STDDOC) std\stdio.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_stdio.html $(STDDOC) std\stdio.d

$(DOC)\std_stream.html : $(STDDOC) std\stream.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_stream.html -d $(STDDOC) std\stream.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_stream.html $(STDDOC) std\stream.d

$(DOC)\std_string.html : $(STDDOC) std\string.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_string.html $(STDDOC) std\string.d
Expand All @@ -659,7 +659,7 @@ $(DOC)\std_system.html : $(STDDOC) std\system.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_system.html $(STDDOC) std\system.d

$(DOC)\std_thread.html : $(STDDOC) $(DRUNTIME)\src\core\thread.d
$(DMD) -c -o- -d $(DDOCFLAGS) -Df$(DOC)\std_thread.html $(STDDOC) -I$(DRUNTIME)\src $(DRUNTIME)\src\core\thread.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_thread.html $(STDDOC) -I$(DRUNTIME)\src $(DRUNTIME)\src\core\thread.d

$(DOC)\std_traits.html : $(STDDOC) std\traits.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_traits.html $(STDDOC) std\traits.d
Expand Down
12 changes: 6 additions & 6 deletions win64.mak
Expand Up @@ -37,13 +37,13 @@ CFLAGS=/O2 /nologo /I"$(VCDIR)\INCLUDE" /I"$(SDKDIR)\Include"

## Flags for dmd D compiler

DFLAGS=-m$(MODEL) -O -release -w -d
#DFLAGS=-m$(MODEL) -unittest -g -d
#DFLAGS=-m$(MODEL) -unittest -cov -g -d
DFLAGS=-m$(MODEL) -O -release -w
#DFLAGS=-m$(MODEL) -unittest -g
#DFLAGS=-m$(MODEL) -unittest -cov -g

## Flags for compiling unittests

UDFLAGS=-g -m$(MODEL) -O -w -d
UDFLAGS=-g -m$(MODEL) -O -w

## C compiler, linker, librarian

Expand Down Expand Up @@ -627,7 +627,7 @@ $(DOC)\std_stdio.html : $(STDDOC) std\stdio.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_stdio.html $(STDDOC) std\stdio.d

$(DOC)\std_stream.html : $(STDDOC) std\stream.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_stream.html -d $(STDDOC) std\stream.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_stream.html $(STDDOC) std\stream.d

$(DOC)\std_string.html : $(STDDOC) std\string.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_string.html $(STDDOC) std\string.d
Expand All @@ -636,7 +636,7 @@ $(DOC)\std_system.html : $(STDDOC) std\system.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_system.html $(STDDOC) std\system.d

$(DOC)\std_thread.html : $(STDDOC) $(DRUNTIME)\src\core\thread.d
$(DMD) -c -o- -d $(DDOCFLAGS) -Df$(DOC)\std_thread.html $(STDDOC) -I$(DRUNTIME)\src $(DRUNTIME)\src\core\thread.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_thread.html $(STDDOC) -I$(DRUNTIME)\src $(DRUNTIME)\src\core\thread.d

$(DOC)\std_traits.html : $(STDDOC) std\traits.d
$(DMD) -c -o- $(DDOCFLAGS) -Df$(DOC)\std_traits.html $(STDDOC) std\traits.d
Expand Down

0 comments on commit e8c4a33

Please sign in to comment.