-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Compilation error on VS2022 #10806
Comments
Need cmake logs |
There you go...
|
As extra, after the proposed fix, the compilation works using the CMake settings above. |
========== Build: 18 succeeded, 0 failed, 1 up-to-date, 1 skipped ========== VS22 |
what is your VS version?
|
Weird 🤔 I did a fresh install from 0 on everything:
And I read in the official Here is the issue: |
I use and no problem
|
Interesting, I do not have that option. I dont even know where to find it |
I will set this issue as closed :) but hope if someone sees the same error as me, this issue can help them to fix it. Thanks all for the help! |
Current Behaviour
There is an error that on VS2022 that does not let AC to compile on the
fmt
library:Expected Blizzlike Behaviour
N/A
Source
The error is in the following line:
azerothcore-wotlk/deps/fmt/include/fmt/format.h
Line 3028 in 23cd188
Steps to reproduce the problem
Extra Notes
This is NOT an issue with the
fmt
library itself OR with AzerothCore but with the IDE, so I think it's a good idea to support VS2022 too until Microsoft fixes this.There is a possible fix by replacing all
#if FMT_USE_NONTYPE_TEMPLATE_PARAMETERS
With
#if FMT_USE_NONTYPE_TEMPLATE_PARAMETERS && !defined(__INTELLISENSE__)
AC rev. hash/commit
N/A
Operating system
Windows 11
Custom changes or Modules
No response
The text was updated successfully, but these errors were encountered: