|
|
|
date: Fri, 14 Mar 2008 07:58:46 -0500,
group: microsoft.public.vstudio.development
back
IPCs
Hi,
We are doing a migration from UNIX to Windows. We are using VC 8.0
compiler to regenerate all c++ components. Currently, in one component
there are lots of IPCs and after including Cygwin headers ipc.h,sem.h and
shm.h we are getting errors as below.
As there are more than 40 files , currently due to time constraint , we
are not in a position to go for rewriting using Windows equivalent IPCs.
So please give as an easiest alternative which will solve our problem.
\LIBS_NEEDED\cygwin/shm.h(52) : error C2146: syntax error : missing ';'
before identifier 'shm_atim'
C:\LIBS_NEEDED\cygwin/shm.h(52) : error C4430: missing type specifier -
int assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\cygwin/shm.h(52) : error C4430: missing type specifier -
int assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\cygwin/shm.h(53) : error C2146: syntax error : missing ';'
before identifier 'shm_dtim'
C:\LIBS_NEEDED\cygwin/shm.h(53) : error C4430: missing type specifier -
int assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\cygwin/shm.h(53) : error C4430: missing type specifier -
int assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\cygwin/shm.h(54) : error C2146: syntax error : missing ';'
before identifier 'shm_ctim'
C:\LIBS_NEEDED\cygwin/shm.h(54) : error C4430: missing type specifier -
int assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\cygwin/shm.h(54) : error C4430: missing type specifier -
int assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\cygwin/sem.h(45) : error C2146: syntax error : missing ';'
before identifier 'sem_otim'
C:\LIBS_NEEDED\cygwin/sem.h(45) : error C4430: missing type specifier -
int assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\cygwin/sem.h(45) : error C4430: missing type specifier -
int assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\cygwin/sem.h(46) : error C2146: syntax error : missing ';'
before identifier 'sem_ctim'
C:\LIBS_NEEDED\cygwin/sem.h(46) : error C4430: missing type specifier -
int assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\cygwin/sem.h(46) : error C4430: missing type specifier -
int assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\pthread.h(78) : error C2065: 'pthread_attr_t' : undeclared
identifier
C:\LIBS_NEEDED\pthread.h(78) : error C2059: syntax error : ')'
C:\LIBS_NEEDED\pthread.h(79) : error C4430: missing type specifier - int
assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\pthread.h(79) : error C2143: syntax error : missing ','
before '*'
C:\LIBS_NEEDED\pthread.h(80) : error C4430: missing type specifier - int
assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\pthread.h(80) : error C2143: syntax error : missing ','
before '*'
C:\LIBS_NEEDED\pthread.h(81) : error C4430: missing type specifier - int
assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\pthread.h(81) : error C2143: syntax error : missing ','
before '*'
C:\LIBS_NEEDED\pthread.h(82) : error C4430: missing type specifier - int
assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\pthread.h(82) : error C2143: syntax error : missing ','
before '*'
C:\LIBS_NEEDED\pthread.h(83) : error C4430: missing type specifier - int
assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\pthread.h(83) : error C2143: syntax error : missing ','
before '*'
C:\LIBS_NEEDED\pthread.h(84) : error C2059: syntax error : ')'
C:\LIBS_NEEDED\pthread.h(85) : error C2059: syntax error : ','
C:\LIBS_NEEDED\pthread.h(86) : error C2059: syntax error : ','
C:\LIBS_NEEDED\pthread.h(87) : error C2059: syntax error : ','
C:\LIBS_NEEDED\pthread.h(88) : error C2059: syntax error : ','
C:\LIBS_NEEDED\pthread.h(89) : error C2059: syntax error : ','
C:\LIBS_NEEDED\pthread.h(105) : error C2065: 'pthread_t' : undeclared
identifier
C:\LIBS_NEEDED\pthread.h(129) : error C2065: 'pthread_cond_t' : undeclared
identifier
C:\LIBS_NEEDED\pthread.h(129) : error C2059: syntax error : ')'
C:\LIBS_NEEDED\pthread.h(130) : error C2059: syntax error : ')'
C:\LIBS_NEEDED\pthread.h(131) : error C2059: syntax error : ','
C:\LIBS_NEEDED\pthread.h(132) : error C2059: syntax error : ')'
C:\LIBS_NEEDED\pthread.h(133) : error C2059: syntax error : ','
C:\LIBS_NEEDED\pthread.h(135) : error C2059: syntax error : ','
C:\LIBS_NEEDED\pthread.h(136) : error C2065: 'pthread_condattr_t' :
undeclared identifier
C:\LIBS_NEEDED\pthread.h(136) : error C2059: syntax error : ')'
C:\LIBS_NEEDED\pthread.h(137) : error C4430: missing type specifier - int
assumed. Note: C++ does not support default-int
C:\LIBS_NEEDED\pthread.h(137) : error C2143: syntax error : missing ','
before '*'
C:\LIBS_NEEDED\pthread.h(138) : error C2059: syntax error : ')'
C:\LIBS_NEEDED\pthread.h(139) : error C2059: syntax error : ','
C:\LIBS_NEEDED\pthread.h(141) : error C2059: syntax error : ','
C:\LIBS_NEEDED\pthread.h(144) : error C2078: too many initializers
C:\LIBS_NEEDED\pthread.h(146) : error C2062: type 'int' unexpected
C:\LIBS_NEEDED\pthread.h(147) : error C2065: 'pthread_key_t' : undeclared
identifier
C:\LIBS_NEEDED\pthread.h(148) : error C2062: type 'void' unexpected
--
Message posted using http://www.talkaboutsoftware.com/group/microsoft.public.vstudio.development/
More information at http://www.talkaboutsoftware.com/faq.html
date: Fri, 14 Mar 2008 07:58:46 -0500
author: Shoba
|
|