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

_w64 error + solution #56

Open
ResTedRU opened this issue Jan 17, 2022 · 1 comment
Open

_w64 error + solution #56

ResTedRU opened this issue Jan 17, 2022 · 1 comment
Labels
help wanted Extra attention is needed windows Windows specific issue

Comments

@ResTedRU
Copy link

ResTedRU commented Jan 17, 2022

I ran into a problem during build:

File: types.h
Error: E1256 __w64 can only be specified on int, long, and pointer types (https://prnt.sc/26ekkoy)

Solution:
when I went to the variable definition, I found that parameter _w64 was not quite correct, since it is case sensitive i changed it to _W64 and the error went away

Since I'm not a professional developer, I would like to validate this solution or get another correct solution.

UPD:
I looked at the file in the source and there are some differences, so after updating this also fixes the problem:

#ifdef __VISUALC__ > #if defined(__VISUALC__) && (_MSC_VER < 1800)

@Lihis
Copy link
Owner

Lihis commented Jan 17, 2022

@Lihis Lihis added windows Windows specific issue help wanted Extra attention is needed labels Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed windows Windows specific issue
Projects
None yet
Development

No branches or pull requests

2 participants