help with error?
Tim Prince
n8tm@aol.com
Fri Jan 22 03:27:00 GMT 2010
Afflictedd2 wrote:
> 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
> How do I fix this?
Which aspect of it? Unsuitable LANG environment variable setting, or
comparison of unspecified pointer target with string of 0 length?
Looks like primarily a C syntax issue rather than a cygwin one.
--
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