可以在出错的那行上忽略之#pragma GCC diagnostic ignored "-Wdeprecated-declarations"或者直接在GCC的编译参数里加上-Wno-deprecated
可以在出错的那行上忽略之
或者直接在GCC的编译参数里加上