mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
Added doc target to netlist makefile. Removed old style cast. (nw)
This commit is contained in:
parent
20a584b348
commit
7a7c123d1e
@ -28,6 +28,7 @@ CC = g++-5
|
||||
LD = @g++-5
|
||||
MD = @mkdir
|
||||
RM = @rm
|
||||
DOXYGEN = @doxygen
|
||||
|
||||
TARGETS = nltool nlwav
|
||||
|
||||
@ -160,7 +161,7 @@ depend: .depend
|
||||
# Special targets
|
||||
#-------------------------------------------------
|
||||
|
||||
.PHONY: clang
|
||||
.PHONY: clang doc
|
||||
clang:
|
||||
$(MAKE) CC=clang++ LD=clang++ CEXTRAFLAGS="-Weverything -Werror -Wno-padded -Wno-weak-vtables -Wno-missing-variable-declarations -Wconversion -Wno-c++98-compat -Wno-float-equal -Wno-cast-align -Wno-global-constructors -Wno-c++98-compat-pedantic -Wno-exit-time-destructors -Wno-format-nonliteral -Wno-weak-template-vtables"
|
||||
|
||||
@ -168,6 +169,9 @@ clang:
|
||||
# FIX: -Wno-weak-vtables -Wno-missing-variable-declarations -Wno-conversion -Wno-exit-time-destructors
|
||||
#
|
||||
|
||||
doc:
|
||||
$(DOXYGEN) doxygen.conf
|
||||
|
||||
#-------------------------------------------------
|
||||
# generic rules
|
||||
#-------------------------------------------------
|
||||
|
@ -65,7 +65,7 @@ mempool::~mempool()
|
||||
{
|
||||
if (b.m_num_alloc != 0)
|
||||
{
|
||||
fprintf(stderr, "Found block with %d dangling allocations\n", (int) b.m_num_alloc);
|
||||
fprintf(stderr, "Found block with %d dangling allocations\n", static_cast<int>(b.m_num_alloc));
|
||||
}
|
||||
delete b.data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user