Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Can't build with VS2017 #75

Open
Stretto opened this issue Jun 8, 2017 · 0 comments
Open

Can't build with VS2017 #75

Stretto opened this issue Jun 8, 2017 · 0 comments

Comments

@Stretto
Copy link

Stretto commented Jun 8, 2017

Trying to build, I get the errors:

B:\Temp\luaffi-master\msvc\stdbool.h(36): error C2632: 'char' followed by 'bool' is illegal
B:\Temp\luaffi-master\msvc\stdbool.h(36): warning C4091: 'typedef ': ignored on left of 'unsigned char' when no variable is declared
ctype.c
B:\Temp\luaffi-master\msvc\stdbool.h(36): error C2632: 'char' followed by 'bool' is illegal
B:\Temp\luaffi-master\msvc\stdbool.h(36): warning C4091: 'typedef ': ignored on left of 'unsigned char' when no variable is declared
ffi.c
B:\Temp\luaffi-master\msvc\stdbool.h(36): error C2632: 'char' followed by 'bool' is illegal
B:\Temp\luaffi-master\msvc\stdbool.h(36): warning C4091: 'typedef ': ignored on left of 'unsigned char' when no variable is declared
parser.c
B:\Temp\luaffi-master\msvc\stdbool.h(36): error C2632: 'char' followed by 'bool' is illegal
B:\Temp\luaffi-master\msvc\stdbool.h(36): warning C4091: 'typedef ': ignored on left of 'unsigned char' when no variable is declared

If I hack stdbool, I seem to get the same error but with complex.

Best I can tell, it has to do with something similar with

https://stackoverflow.com/questions/15191127/changes-meaning-from-typedef
?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant