Skip to content

Commit 6c94f5e

Browse files
committed
add warnings about implicit conversions
1 parent a9efa8a commit 6c94f5e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CXXFLAGS += -I./include -I./include/star -DHAVE_CONFIG_H -DTOOLBOX
1+
CXXFLAGS += -I./include -I./include/star -DHAVE_CONFIG_H -DTOOLBOX -Wconversion
22
LDLIBS += -Lsstar -lsstar -Lnode -lnode -Lstd -lstd -lm
33
CFLAGS += -O
44
CXXFLAGS += -O

Makefile.inc.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CXXFLAGS += -I__BASE__/include -I__BASE__/include/star -DHAVE_CONFIG_H
2-
CFLAGS += -O
3-
CXXFLAGS += -O
2+
CFLAGS += -O -Wconversion # -Werror=conversion
3+
CXXFLAGS += -O -Wconversion # -Werror=conversion
44

55

66

7-
CXXFLAGS += -D_SRC_='"no_source_available"'
7+
CXXFLAGS += -D_SRC_='"no_source_available"'

0 commit comments

Comments
 (0)