| delorie.com/archives/browse.cgi | search |
| 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 <n8tm AT aol DOT com> |
| 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> |
| 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: | <cygwin.cygwin.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 |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |