Jump to content

Recommended Posts

Hi guys!

 

Enyone know how to fix this?

 


input_main.cpp:3496:11: error: no viable conversion from 'std::unique_ptr<SQLMsg>' (aka 'unique_ptr<_SQLMsg>') to 'SQLMsg *' (aka '_SQLMsg *')
        SQLMsg * msg = DBManager::instance().DirectQuery(szQuery);
                 ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
input_main.cpp:3502:32: error: use of undeclared identifier 'HEADER_GD_FLUSH_CACHE'; did you mean 'HEADER_GD_QUEST_SAVE'?
        db_clientdesc->DBPacketHeader(HEADER_GD_FLUSH_CACHE, 0, sizeof(DWORD));
                                      ^~~~~~~~~~~~~~~~~~~~~
 

 

Thanks for reply!

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Premium
25 minutes ago, sylwek219awp said:

Hi guys!

 

Enyone know how to fix this?

 


input_main.cpp:3496:11: error: no viable conversion from 'std::unique_ptr<SQLMsg>' (aka 'unique_ptr<_SQLMsg>') to 'SQLMsg *' (aka '_SQLMsg *')
        SQLMsg * msg = DBManager::instance().DirectQuery(szQuery);
                 ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
input_main.cpp:3502:32: error: use of undeclared identifier 'HEADER_GD_FLUSH_CACHE'; did you mean 'HEADER_GD_QUEST_SAVE'?
        db_clientdesc->DBPacketHeader(HEADER_GD_FLUSH_CACHE, 0, sizeof(DWORD));
                                      ^~~~~~~~~~~~~~~~~~~~~
 

 

Thanks for reply!

input_main.cpp:3496

input_main.cpp:3502

Read those lines in your input_main.cpp you fcked up something and you don't have indentified HEADER_GD_FLUSH_CACHE

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.