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

Swig 3.0.0, Lua and snprintf() compilation problem on MSVC 2010 #173

Closed
apaikan opened this issue Apr 16, 2014 · 2 comments
Closed

Swig 3.0.0, Lua and snprintf() compilation problem on MSVC 2010 #173

apaikan opened this issue Apr 16, 2014 · 2 comments
Labels
Component: Bindings swig, python, java, ruby, perl, octave, matlab, lua, csharp, tcl Platform: Windows

Comments

@apaikan
Copy link
Collaborator

apaikan commented Apr 16, 2014

The yarpLUA_wrap.cxx generated by Swig 3.0.0 includes snprintf() which is not part of C89 standard and causes failure on compilation of Lua Yarp Bindings on MSVC 2010. As far I remember, the older version of Swig was working fine.

@apaikan apaikan changed the title Swig 3.0.0, Lua and snprintf() compilation problem problem on MSVC 2010 Swig 3.0.0, Lua and snprintf() compilation problem on MSVC 2010 Apr 16, 2014
@paulfitz
Copy link
Member

@apaikan this looks to be fixed upstream, see swig/swig#152

Can you use the development version of swig? Not sure if the fix is in a release yet.

Are there any steps you need taken within YARP itself to address this?

@paulfitz
Copy link
Member

Closing since this is an upstream bug, already fixed, and there's really nothing I can see that can be done in YARP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Bindings swig, python, java, ruby, perl, octave, matlab, lua, csharp, tcl Platform: Windows
Projects
None yet
Development

No branches or pull requests

2 participants