Browse Source

Added -Wall and -Wextra to example/Makefile

yhirose 8 năm trước cách đây
mục cha
commit
3dded8c3e3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      example/Makefile

+ 1 - 1
example/Makefile

@@ -1,6 +1,6 @@
 
 CC = clang++
-CFLAGS = -std=c++14 -I..
+CFLAGS = -std=c++14 -I.. -Wall -Wextra
 #OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib -lssl -lcrypto
 
 all: server client hello simplesvr benchmark