Skip to content

Commit 7de7db2

Browse files
Merge pull request #32 from PolySat/fixFlag
Added -Wno-format-truncation
2 parents 2782772 + f9a2466 commit 7de7db2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: c
2-
dist: trusty
2+
dist: bionic
33
sudo: false
44

55
os:

Diff for: Make.rules.Linux

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
SO_EXT=so
2-
SO_CFLAGS=-fPIC -O -Wno-error=unused-result -Wno-error=deprecated-declarations
2+
SO_CFLAGS=-fPIC -O
33
SO_LDFLAGS=-shared -fPIC -Wl,-soname,$(SO_NAME)

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MINOR_VERS=0.1
1515
INCLUDE=proclib.h events.h ipc.h config.h debug.h cmd.h polysat.h hashtable.h util.h md5.h priorityQueue.h eventTimer.h telm_dict.h zmqlite.h critical.h xdr.h cmd-pkt.h plugin.h
1616

1717
# Build Variables
18-
override CFLAGS+=$(SYMBOLS) -Wall -Werror -std=gnu99 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 $(SO_CFLAGS)
18+
override CFLAGS+=$(SYMBOLS) -Wall -Werror -Wno-unknown-warning-option -Wno-format-truncation -Wno-deprecated-declarations -std=gnu99 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 $(SO_CFLAGS)
1919
override LDFLAGS+= -ldl
2020
SRC_PATH=.
2121

0 commit comments

Comments
 (0)