delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/21/20:57:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <27266461.post@talk.nabble.com>
Date: Thu, 21 Jan 2010 17:57:25 -0800 (PST)
From: Afflictedd2 <edvelez DOT g AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: help with error?
MIME-Version: 1.0
X-IsSubscribed: yes
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

Hi everyone,

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

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

/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

How do I fix this?
--=20
View this message in context: http://old.nabble.com/help-with-error--tp2726=
6461p27266461.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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019