This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sockets pbs..




Hello everybody...

I uploaded last (as of yesterday) version of cygwin..

Then I tried compiling some of my libraries...

Here is the result on one dealing with sockets :

cc -Wall -D_POSIX_SOURCE -D__rtems__ -mno-cygwin -mwindows -I../include/ -I/usr/include -c MyBase.c
In file included from /usr/include/sys/socket.h:15,
from ../include/CCS.h:29,
from MyBase.c:244:
/usr/include/cygwin/socket.h:55: error: parse error before "__uid32_t"
/usr/include/cygwin/socket.h:55: warning: no semicolon at end of struct or union
/usr/include/cygwin/socket.h:56: warning: type defaults to `int' in declaration of `gid'
/usr/include/cygwin/socket.h:56: warning: data definition has no type or storage class



and the first lines of CCS.h are :


#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <errno.h>

So did I miss a flag in order to compile, or a bad location, or is it a bug ??

Jean

_________________________________________________________________
Avec Windows Live OneCare éliminez tous les virus de votre PC ! http://www.windowslive.fr/liveonecare/default.asp



-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]