X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B591004.7060406@aol.com> Date: Thu, 21 Jan 2010 18:40:04 -0800 From: Tim Prince Reply-To: tprince AT computer DOT org User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: help with error? References: <27266461 DOT post AT talk DOT nabble DOT com> In-Reply-To: <27266461.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AOL-IP: 99.13.231.72 X-AOL-SENDER: N8TM AT aol DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam 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