[Libwebsockets] [libwebsockets] #69: libwebsockets tries to redefine ssize_t

Trac trac at libwebsockets.org
Thu Apr 24 18:32:31 CEST 2014


#69: libwebsockets tries to redefine ssize_t
-----------------------------------+-----------------
 Reporter:  Luke-Jr                |      Owner:
     Type:  defect                 |     Status:  new
 Priority:  major                  |  Milestone:
Component:  libwebsockets library  |    Version:
 Keywords:                         |
-----------------------------------+-----------------
 [  1%] Building C object
 CMakeFiles/websockets_shared.dir/lib/base64-decode.c.obj
 In file included from /usr/x86_64-w64-mingw32/tmp/portage/net-
 libs/libwebsockets-1.23/work/libwebsockets-1.23-chrome32-firefox24/lib/libwebsockets.h:38:0,
                  from /usr/x86_64-w64-mingw32/tmp/portage/net-
 libs/libwebsockets-1.23/work/libwebsockets-1.23-chrome32-firefox24/lib
 /private-libwebsockets.h:109,
                  from /usr/x86_64-w64-mingw32/tmp/portage/net-
 libs/libwebsockets-1.23/work/libwebsockets-1.23-chrome32-firefox24/lib/base64-decode.c:44:
 /usr/x86_64-w64-mingw32/tmp/portage/net-
 libs/libwebsockets-1.23/work/libwebsockets-1.23-chrome32-firefox24/lib/../win32port/win32helpers/websock-w32.h:10:0:
 error: ignoring #pragma warning  [-Werror=unknown-pragmas]
 In file included from /usr/x86_64-w64-mingw32/tmp/portage/net-
 libs/libwebsockets-1.23/work/libwebsockets-1.23-chrome32-firefox24/lib
 /private-libwebsockets.h:109:0,
                  from /usr/x86_64-w64-mingw32/tmp/portage/net-
 libs/libwebsockets-1.23/work/libwebsockets-1.23-chrome32-firefox24/lib/base64-decode.c:44:
 /usr/x86_64-w64-mingw32/tmp/portage/net-
 libs/libwebsockets-1.23/work/libwebsockets-1.23-chrome32-firefox24/lib/libwebsockets.h:45:13:
 error: conflicting types for ‘ssize_t’
 In file included from
 /usr/x86_64-w64-mingw32/mingw/include/crtdefs.h:10:0,
                  from /usr/x86_64-w64-mingw32/mingw/include/stdio.h:9,
                  from /usr/x86_64-w64-mingw32/tmp/portage/net-
 libs/libwebsockets-1.23/work/libwebsockets-1.23-chrome32-firefox24/lib/base64-decode.c:42:
 /usr/x86_64-w64-mingw32/mingw/include/_mingw.h:387:35: note: previous
 declaration of ‘ssize_t’ was here
 cc1: all warnings being treated as errors

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/69>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list