delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <27273392.post@talk.nabble.com> |
Date: | Fri, 22 Jan 2010 05:48:32 -0800 (PST) |
From: | Afflictedd2 <edvelez DOT g AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | RE: help with error? |
In-Reply-To: | <2BF01EB27B56CC478AD6E5A0A28931F29F41BF@A1DAL1SWPES19MB.ams.acs-inc.net> |
MIME-Version: | 1.0 |
References: | <27266461 DOT post AT talk DOT nabble DOT com> <2BF01EB27B56CC478AD6E5A0A28931F29F41BF AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
I got the code from the web so I'm not sure what the author might have truly meant, a fix was to change it to 0, but I'm not sure if the program works as it is meant. Nellis, Kenneth-2 wrote: >=20 >> From: Afflictedd2 >> Sent: Thursday, January 21, 2010 20:57 >> To: cygwin AT cygwin DOT com >> Subject: help with error? >>=20 >>=20 >> Hi everyone, >>=20 >> I am having the following errors when compiling with cygwin. >> It complains on this line of code: >>=20 >> while ( context->holder !=3D '' ) { >>=20 >> /usr/bin/g++ -c -g -o "Debug/prodcon.o" "prodcon.c" >> prodcon.c:129:32: error: empty character constant >> prodcon.c: In function =C3=A2=E2=82=AC=CB=9Cvoid* producer(void*)=C3=A2= =E2=82=AC=E2=84=A2: >> prodcon.c:103: error: expected `;' before =C3=A2=E2=82=AC=CB=9Csizeof=C3= =A2=E2=82=AC=E2=84=A2 >> prodcon.c:103: error: expected `)' before =C3=A2=E2=82=AC=CB=9C;=C3=A2= =E2=82=AC=E2=84=A2 token >> prodcon.c:103: error: expected `;' before =C3=A2=E2=82=AC=CB=9C)=C3=A2= =E2=82=AC=E2=84=A2 token >> prodcon.c:147: error: expected `}' at end of input >> make: *** [Debug/prodcon.o] Error 1 >>=20 >> 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. >=20 > '' is not a valid character constant. Did you mean "" ? > --Ken Nellis >=20 >=20 --=20 View this message in context: http://old.nabble.com/help-with-error--tp2726= 6461p27273392.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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |