Skip to content
QtWS25 Last Chance
  • 0 Votes
    10 Posts
    2k Views
    SGaistS
    Hi and welcome to devnet, @KIMI2023 said in not enough arguments for function-like macro invocation 'realloc': I met the same question, (Debug version NG, release version OK) Solution: find file[crtdbg.h]:D:\Windows Kits\10\Include\10.0.19041.0\ucrt\crtdbg.h to commet follow: //#define realloc(p, s) _realloc_dbg(p, s, _NORMAL_BLOCK, FILE, LINE) Changing a file in the Windows development framework is not the correct way to handle that situation. As was done in the patch I linked, fixing the code is.