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

Problems encountered during compilation. #18854

Closed
lemonmomomo opened this issue May 1, 2024 · 4 comments
Closed

Problems encountered during compilation. #18854

lemonmomomo opened this issue May 1, 2024 · 4 comments

Comments

@lemonmomomo
Copy link

lemonmomomo commented May 1, 2024

Current Behaviour

At compile time
E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (119,26): warning C4834: Abandon the return value of a function with the [nodiscard]] attribute (compile source file "../../../../AzerothCorewotlk/src/server/apps/authserver/Server/AuthSession. cpp")

E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (119,26): Template instantiation context (earliest instantiation context) is E: \ ac335 \ AzerothCore wotlk \ src \ server \ apps \ authserver \ Server \ AuthSession. h (64,28): View references to instantiating 'Socket' on the compiled class template

E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (114,10): When compiling the class template member function "void Socket:: QueuePacket (Message&)", E: \ ac335 \ AzerothCore wotlk \ src \ server \ apps \ authserver \ Server \ AuthSession. cpp (280,20): Please refer to the first reference to "Socket: QueuePacket" in "AuthSession:: SendPacket"

E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (202,34): warning C4834: Abandon the return value of a function with the [nodiscard]] attribute (compile source file "../../../../AzerothCore wotlk/src/server/apps/authserver/Server/AuthSession. cpp")

E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (202,34): The template instantiation context (earliest instantiation context) is E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (191,10): When compiling the class template member function "void Socket: WriteHandle (boost:: system: errorCode, size_t)", E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (158,33): Please refer to the first reference to "Socket:: WriteHandler" in "Socket:: AsyncProcessQueue"

E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (119,26): Please refer to the first reference to "Socket:: AsyncProcessQueue" in "Socket:: QueuePacket"

E: \ ac335 \ AzerothCore wotlk \ src \ server \ apps \ authserver \ Server \ AuthSession. cpp (280,20): Please refer to the first reference to 'Socket:: QueuePacket' in 'AuthSession: SendPacket'

Expected Blizzlike Behaviour

May I ask if you have any similar situations? What should be done if there is this problem? Thank you!

Source

No response

Steps to reproduce the problem

I didn't notice it before, but I suddenly saw it during compilation.

Extra Notes

No response

AC rev. hash/commit

E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (119,26): warning C4834: Abandon the return value of a function with the [nodiscard]] attribute (compile source file "../../../../AzerothCorewotlk/src/server/apps/authserver/Server/AuthSession. cpp")

E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (119,26): Template instantiation context (earliest instantiation context) is E: \ ac335 \ AzerothCore wotlk \ src \ server \ apps \ authserver \ Server \ AuthSession. h (64,28): View references to instantiating 'Socket' on the compiled class template

E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (114,10): When compiling the class template member function "void Socket:: QueuePacket (Message&)", E: \ ac335 \ AzerothCore wotlk \ src \ server \ apps \ authserver \ Server \ AuthSession. cpp (280,20): Please refer to the first reference to "Socket: QueuePacket" in "AuthSession:: SendPacket"

E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (202,34): warning C4834: Abandon the return value of a function with the [nodiscard]] attribute (compile source file "../../../../AzerothCore wotlk/src/server/apps/authserver/Server/AuthSession. cpp")

E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (202,34): The template instantiation context (earliest instantiation context) is E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (191,10): When compiling the class template member function "void Socket: WriteHandle (boost:: system: errorCode, size_t)", E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (158,33): Please refer to the first reference to "Socket:: WriteHandler" in "Socket:: AsyncProcessQueue"

E: \ ac335 \ AzerothCore wotlk \ src \ server \ shared \ Network \ Socket. h (119,26): Please refer to the first reference to "Socket:: AsyncProcessQueue" in "Socket:: QueuePacket"

E: \ ac335 \ AzerothCore wotlk \ src \ server \ apps \ authserver \ Server \ AuthSession. cpp (280,20): Please refer to the first reference to 'Socket:: QueuePacket' in 'AuthSession: SendPacket'

Operating system

win10

Custom changes or Modules

mod_ahbot
AutoBalance
mod_LuaEngine
Solocraft.conf
transmog.conf
mod-weapon-visual
SkipDKModule
npcbot

@lemonmomomo
Copy link
Author

Is the warning above normal?

@Nyeriah
Copy link
Member

Nyeriah commented May 1, 2024

Could you please translate/post them in English?

@lemonmomomo
Copy link
Author

@Nyeriah Your suggestion is correct, thank you!

@Kitzunu
Copy link
Member

Kitzunu commented May 8, 2024

as they are only warnings I will close this issue

@Kitzunu Kitzunu closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants