• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Format.h Error

Status
Not open for further replies.

Visa

Sexy Member
Code:
error C2248: 'fmt::internal::MakeValue<Formatter>::MakeValue' :
cannot access private member declared in class 'fmt::internal::MakeValue<Formatter>'
C:\**\**\**\**\Trinity\dep\cppformat\format.h

Anyone wanna take a crack at what this hunky junk means? I was editing one of my custom scripts (trial and erroring) for ingame and during one of the re-compiles this random error pops up, when I didnt know this file (format.h) even existed so obviously i didnt touch it. /cry


TrinityCore 3.3.5a
fe2a0fda4464+
TDB 335.60
 

Rochet2

Moderator / Eluna Dev
Try full recompile. (clean build + build)
Show us the script you fiddled with.
Did you change any includes?
 

Visa

Sexy Member
Fixed. It was actually an error with using

"result = WorldDatabase.PQuery("test sql query number %u", test_variable);"

Where as "test_variable" was defined as a std::string and not uint32 I think . if that makes sense
 

slp13at420

Mad Scientist
Fixed. It was actually an error with using

"result = WorldDatabase.PQuery("test sql query number %u", test_variable);"

Where as "test_variable" was defined as a std::string and not uint32 I think . if that makes sense

lol yea I get weird errors when I ass-backwards my variables in queries or chat/gossip lol n the errors are uber vague lol
 
Status
Not open for further replies.
Top