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

Windows VS 2008 build errors #127

Closed
jakirkham opened this issue Dec 31, 2018 · 1 comment
Closed

Windows VS 2008 build errors #127

jakirkham opened this issue Dec 31, 2018 · 1 comment

Comments

@jakirkham
Copy link

Am seeing the following errors when building with VS 2008 on Windows. These are present in 6.9.1, but not 6.9.0. The build log is also linked below.

C:\bld\oniguruma_1546175776687\work\src\regparse.c(1566) : error C2275: 'OnigValue' : illegal use of this type as an expression
        c:\bld\oniguruma_1546175776687\work\src\oniguruma.h(748) : see declaration of 'OnigValue'
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1566) : error C2065: 'val' : undeclared identifier
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1567) : error C2275: 'OnigUChar' : illegal use of this type as an expression
        c:\bld\oniguruma_1546175776687\work\src\oniguruma.h(76) : see declaration of 'OnigUChar'
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1567) : error C2065: 'ds' : undeclared identifier
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1567) : error C2065: 'val' : undeclared identifier
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1567) : error C2223: left of '->s' must point to struct/union
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1567) : error C2065: 'val' : undeclared identifier
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1567) : error C2223: left of '->s' must point to struct/union
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1567) : error C2198: 'onigenc_strdup' : too few arguments for call
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1568) : error C2065: 'ds' : undeclared identifier
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1570) : error C2065: 'ds' : undeclared identifier
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1570) : warning C4047: '=' : 'OnigUChar *' differs in levels of indirection from 'int'
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1571) : error C2065: 'ds' : undeclared identifier
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1571) : error C2065: 'val' : undeclared identifier
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1571) : error C2223: left of '->s' must point to struct/union
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1571) : error C2065: 'val' : undeclared identifier
C:\bld\oniguruma_1546175776687\work\src\regparse.c(1571) : error C2223: left of '->s' must point to struct/union
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.

ref: https://ci.appveyor.com/project/conda-forge/oniguruma-feedstock/builds/21293922/job/36rg3s7oq02b1svd

@kkos
Copy link
Owner

kkos commented Dec 31, 2018

I think this error caused by a statement inserted before declarations.
I want to fix this issue but I am in my hometown now.

@kkos kkos closed this as completed in b054054 Jan 2, 2019
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

No branches or pull requests

2 participants