0
const char *p;
p="curl -d \'{\"switch\": \"00:00:3a:46:3b:8d:df:40\", \"name\":\"flow\", \"cookie\":\"0\",
\"priority\":\"32768\", \"src-ip\":\""+p+"\",\"active\":\"true\", \"actions\":\"output=all\"}\'
http://54.68.77.30:8080/wm/staticflowentrypusher/json";
system(p);
错误:忽略 '系统',具有属性warn_unused_result [-Werror =未使用-结果] 系统宣布的返回值(p );忽略返回值warn_unused_result --- GCC编译的Linux
有人可以帮我解决这个问题吗?