Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 warnings and 1 error generated. #59

Closed
mooonshae1979 opened this issue Apr 13, 2022 · 0 comments
Closed

2 warnings and 1 error generated. #59

mooonshae1979 opened this issue Apr 13, 2022 · 0 comments

Comments

@mooonshae1979
Copy link

/azerothcore/modules/mod-account-achievements-master/src/mod_achievements.cpp:30:19: warning: 'GetBoolDefault' is deprecated: Use GetOption instead [-Wdeprecated-declarations]
if (sConfigMgr->GetBoolDefault("Account.Achievements.Enable", true))
^
/azerothcore/src/common/Configuration/Config.h:57:7: note: 'GetBoolDefault' has been explicitly marked deprecated here
[[deprecated("Use GetOption instead")]]
^
/azerothcore/modules/mod-account-achievements-master/src/mod_achievements.cpp:32:20: warning: 'GetBoolDefault' is deprecated: Use GetOption instead [-Wdeprecated-declarations]
if (sConfigMgr->GetBoolDefault("Account.Achievements.Announce", true))
^
/azerothcore/src/common/Configuration/Config.h:57:7: note: 'GetBoolDefault' has been explicitly marked deprecated here
[[deprecated("Use GetOption instead")]]
^
/azerothcore/modules/mod-account-achievements-master/src/mod_achievements.cpp:38:44: fatal error: no member named 'PQuery' in 'DatabaseWorkerPool'; did you mean 'Query'?
QueryResult result1 = CharacterDatabase.PQuery("SELECT guid, race FROM characters WHERE account = %u", pPlayer->GetSession()->GetAccountId());
^~~~~~
Query
/azerothcore/src/server/database/Database/DatabaseWorkerPool.h:119:17: note: 'Query' declared here
QueryResult Query(std::string_view sql, Args&&... args)

@Helias Helias closed this as completed Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants