centos7.6 腾讯云 lnmp 安装警告 但是安装成功了
cc1: 警告:command line option ‘-fimplicit-templates’ is valid for C++/ObjC++ but not for C [默认启用]
[ 48%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ts/ts_expr.c.o
cc1: 警告:command line option ‘-fimplicit-templates’ is valid for C++/ObjC++ but not for C [默认启用]
[ 48%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ts/ts_expr_builder.c.o
cc1: 警告:command line option ‘-fimplicit-templates’ is valid for C++/ObjC++ but not for C [默认启用]
[ 48%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ts/ts_expr_node.c.o
cc1: 警告:command line option ‘-fimplicit-templates’ is valid for C++/ObjC++ but not for C [默认启用]
[ 48%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ts/ts_expr_parser.c.o
cc1: 警告:command line option ‘-fimplicit-templates’ is valid for C++/ObjC++ but not for C [默认启用]
[ 48%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ts/ts_op.c.o
cc1: 警告:command line option ‘-fimplicit-templates’ is valid for C++/ObjC++ but not for C [默认启用]
[ 48%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ts/ts_plan.c.o
cc1: 警告:command line option ‘-fimplicit-templates’ is valid for C++/ObjC++ but not for C [默认启用]
[ 48%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ts/ts_sorter.c.o
cc1: 警告:command line option ‘-fimplicit-templates’ is valid for C++/ObjC++ but not for C [默认启用]
[ 48%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ts/ts_str.c.o
cc1: 警告:command line option ‘-fimplicit-templates’ is valid for C++/ObjC++ but not for C [默认启用]
[ 48%] Building C object storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ts/ts_util.c.o
cc1: 警告:command line option ‘-fimplicit-templates’ is valid for C++/ObjC++ but not for C [默认启用]
[ 82%] Building CXX object storage/connect/CMakeFiles/connect.dir/plgxml.cpp.o
[ 82%] Building CXX object storage/connect/CMakeFiles/connect.dir/tabodbc.cpp.o
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/tabodbc.cpp: 在成员函数‘bool TDBODBC::MakeInsert(PGLOBAL)’中:
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/tabodbc.cpp:304:9: 警告:未使用的变量‘tablep’ [-Wunused-variable]
PTABLE tablep = To_Table;
^
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/tabodbc.cpp: 在成员函数‘virtual bool TDBODBC::OpenDB(PGLOBAL)’中:
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/tabodbc.cpp:560:10: 警告:建议显式地使用花括号以避免出现有歧义的‘else’ [-Wparentheses]
if ((Rbuf = Ocp->Rewind(Query->GetStr(), (PODBCCOL)Columns)) < 0)
^
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/tabodbc.cpp: 在成员函数‘virtual bool TDBXDBC::OpenDB(PGLOBAL)’中:
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/tabodbc.cpp:1216:8: 警告:未使用的变量‘rc’ [-Wunused-variable]
bool rc = false;
^
[ 82%] Building CXX object storage/connect/CMakeFiles/connect.dir/odbconn.cpp.o
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/odbconn.cpp: 在成员函数‘bool ODBConn::DriverConnect(DWORD)’中:
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/odbconn.cpp:1293:11: 警告:未使用的变量‘dup’ [-Wunused-variable]
PDBUSER dup = PlgGetUser(g);
^
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/odbconn.cpp: 在成员函数‘int ODBConn::PrepareSQL(char*)’中:
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/odbconn.cpp:1689:15: 警告:未使用的变量‘rc’ [-Wunused-variable]
RETCODE rc = SQLFreeStmt(m_hstmt, SQL_CLOSE);
^
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/odbconn.cpp: 在成员函数‘int ODBConn::GetCatInfo(CATPARM*)’中:
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/odbconn.cpp:2364:58: 警告:此函数中的‘n’在使用前可能未初始化 [-Wmaybe-uninitialized]
pval = (PVAL *)PlugSubAlloc(g, NULL, n * sizeof(PVAL));
^
[ 82%] Building CXX object storage/connect/CMakeFiles/connect.dir/filamzip.cpp.o
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/filamzip.cpp: 在函数‘bool ZipFiles(PGLOBAL, ZIPUTIL*, PCSZ, char*)’中:
/root/tools/lnmp1.6-full/src/mariadb-10.2.24/storage/connect/filamzip.cpp:94:7: 警告:未使用的变量‘rc’ [-Wunused-variable]
这个不需要理会,只是一些警告
只要最后成功了就可以
页:
[1]