[Libwebsockets] Compile error Windows, MSVC++ 2010

Chris Hanson xenon at alphapixel.com
Mon Dec 15 16:11:11 CET 2014


On Mon, Dec 15, 2014 at 12:12 AM, Andy Green <andy at warmcat.com> wrote:
>
> I looked at the code and it has got mixed declarations and code which is
> not nice.  Maybe the MS compiler got confused.
> I unmixed it here
>
> http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/commit/?id=4edb452969caa507834061d097bc88ea9dc88f1f
> give that a try.



1>ClCompile:
1>  pollfd.c
1>
1>Build succeeded.

  Yay, thanks!

  I forgot this was pure C dialect and C doesn't always like mixing like
that.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography
• Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS •
Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20141215/1f146192/attachment-0001.html>


More information about the Libwebsockets mailing list