help with error?

Afflictedd2 edvelez.g@gmail.com
Fri Jan 22 02:40:00 GMT 2010


Hi everyone,

I am having the following errors when compiling with cygwin.
It complains on this line of code: 

    while ( context->holder != '' ) {

/usr/bin/g++ -c    -g -o "Debug/prodcon.o"  "prodcon.c"
prodcon.c:129:32: error: empty character constant
prodcon.c: In function ‘void* producer(void*)’:
prodcon.c:103: error: expected `;' before ‘sizeof’
prodcon.c:103: error: expected `)' before ‘;’ token
prodcon.c:103: error: expected `;' before ‘)’ token
prodcon.c:147: error: expected `}' at end of input
make: *** [Debug/prodcon.o] Error 1

How do I fix this?
-- 
View this message in context: http://old.nabble.com/help-with-error--tp27266461p27266461.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



More information about the Cygwin mailing list