VPS侦探论坛

 找回密码
 注册
查看: 237|回复: 1

centos7.6 腾讯云 lnmp 安装警告 但是安装成功了

[复制链接]
发表于 2019-8-30 18:49:40 | 显示全部楼层 |阅读模式




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:riverConnect(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:repareSQL(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]




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-8-30 19:48:32 | 显示全部楼层


这个不需要理会,只是一些警告
只要最后成功了就可以
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2019-10-24 11:01 , Processed in 0.086289 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表