mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
show deprecation warnings in phobos
- they are not treated as error
This commit is contained in:
parent
31a5813238
commit
18d79dce7b
3 changed files with 16 additions and 16 deletions
|
@ -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
|
||||
|
@ -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
|
||||
|
|
16
win32.mak
16
win32.mak
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
|
12
win64.mak
12
win64.mak
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue