This resolves a whole range of issues and work-arounds with earlier releases. This version of icpc is more or less compatible with the latest gcc and clang compilers and only required one hack to avoid warnings from PackedBoolList.H.
23 lines
571 B
Plaintext
23 lines
571 B
Plaintext
SUFFIXES += .C
|
|
|
|
c++WARN = -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof \
|
|
-diag-disable 2304
|
|
|
|
CC = icpc
|
|
|
|
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
|
|
|
ptFLAGS = -DNoRepository
|
|
|
|
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
|
|
|
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $< -o $@
|
|
cxxtoo = $(Ctoo)
|
|
cctoo = $(Ctoo)
|
|
cpptoo = $(Ctoo)
|
|
|
|
LINK_LIBS = $(c++DBUG) -L$(IA32ROOT)/lib
|
|
|
|
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
|
LINKEXE = $(CC) $(c++FLAGS)
|