Describe the bug
Hello, trying to compile on linux with gcc 15,
when it gets to wartool.cpp gives this error:
/home/link/Downloads/ArchPKGBUILD/wargus-git/src/wargus-git/wartool.cpp:513:34: error: ‘GetLastError’ was not declared in this scope; did you mean ‘SErrGetLastError’?
513 | nError = GetLastError();
| ^~~~~~~~~~~~
| SErrGetLastError
/home/link/Downloads/ArchPKGBUILD/wargus-git/src/wargus-git/wartool.cpp:519:34: error: ‘GetLastError’ was not declared in this scope; did you mean ‘SErrGetLastError’?
519 | nError = GetLastError();
| ^~~~~~~~~~~~
| SErrGetLastError
make[2]: *** [CMakeFiles/wartool.dir/build.make:93: CMakeFiles/wartool.dir/wartool.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:180: CMakeFiles/wartool.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Stargus has same issue too but lines 82 and 141, war1gus is fine.
Replacing with the suggestion SErrGetLastError let it compiles without issues.
Regards,
Link.
Describe the bug
Hello, trying to compile on linux with gcc 15,
when it gets to
wartool.cppgives this error:Stargus has same issue too but lines
82and141, war1gus is fine.Replacing with the suggestion
SErrGetLastErrorlet it compiles without issues.Regards,
Link.