小编Iri*_*van的帖子

将在[-Wreorder]之后初始化

当我编译我的文件时,我收到此警告:

In file included from AsyncSQL.cpp:8:0:
AsyncSQL.h: In constructor 'CAsyncSQL::CAsyncSQL()':
AsyncSQL.h:192:10: warning: 'CAsyncSQL::m_iCopiedQuery' will be initialized after [-Wreorder]
   int    m_iCopiedQuery;
      ^
Run Code Online (Sandbox Code Playgroud)

这是我的AsyngSQL.H http://pastebin.com/u72kyuq7 那么我做错了什么?

c++ g++

28
推荐指数
1
解决办法
3万
查看次数

标签 统计

c++ ×1

g++ ×1