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

Compilation Error #30784

Closed
smickles opened this issue May 23, 2019 · 0 comments · Fixed by #30792
Closed

Compilation Error #30784

smickles opened this issue May 23, 2019 · 0 comments · Fixed by #30792

Comments

@smickles
Copy link

smickles commented May 23, 2019

Describe the bug

I've encountered an error after a recent pull.
63b649f#commitcomment-33656258

Steps To Reproduce

at relevant commit,

$ git pull
$ make CCACHE=1 RELEASE=1 MSYS2=1 DYNAMIC_LINKING=1 SDL=1 TILES=1 SOUND=1 LOCALIZE=1 LANGUAGES=all LINTJSON=0 ASTYLE=0 RUNTESTS=0

Expected behavior

compilation without error

Screenshots

src/debug.cpp: In function 'std::__cxx11::string windows_version()':
src/debug.cpp:1018:65: error: cast between incompatible function types from 'FARPROC' {aka 'long long int (*)()'} to 'RtlGetVersion' {aka 'long int (*)(_OSVERSIONINFOW*)'} [-Werror=cast-function-type]
                                               "RtlGetVersion" ) );
                                                                 ^
cc1plus.exe: all warnings being treated as errors
make: *** [Makefile:768: objwin/tiles/debug.o] Error 1

Versions and configuration

  • OS:Windows 10, msys
  • Game Version: ed96404
  • Graphics version: TILES
  • Mods loaded: n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant