clear a number of Qt build warnings on linux related to compiler flags
option ‘-Wimplicit’ is valid for C/ObjC but not for C++ option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ option ‘-Wimplicit-int’ is valid for C/ObjC but not for C++ option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ option ‘-Wmissing-parameter-type’ is valid for C/ObjC but not for C++ option ‘-Wold-style-definition’ is valid for C/ObjC but not for C++ option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
This commit is contained in:
@@ -176,7 +176,7 @@ SYSOBJ = $(TARGETPFX)ioctl.o $(TARGETPFX)unixmain.o $(TARGETPFX)unixtty.o \
|
||||
# The Qt and Be window systems are written in C++, while the rest of
|
||||
# NetHack is standard C. If using Qt, uncomment the LINK line here to get
|
||||
# the C++ libraries linked in.
|
||||
CXXFLAGS = $(CFLAGS) -I. -I$(QTDIR)/include $(QTCXXFLAGS)
|
||||
CXXFLAGS = -I. -I$(QTDIR)/include $(QTCXXFLAGS)
|
||||
CXX ?= g++
|
||||
MOC ?= moc
|
||||
#LINK=g++
|
||||
|
||||
Reference in New Issue
Block a user