delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/14/12:02:14

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <00c701c00608$eaf677e0$b3644fc2@msm.com.eg>
From: "Mohammed Abdel'al" <mma AT msm DOT com DOT eg>
To: "Earnie Boyd" <earnie_boyd AT yahoo DOT com>,
"Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
Cc: "Paul Garceau" <pgarceau AT teleport DOT com>, <cygwin AT sourceware DOT cygnus DOT com>
References: <20000814120928 DOT 25688 DOT qmail AT web124 DOT yahoomail DOT com>
Subject: Re: working around "more" (Was Re: what is my mistake?!!!!!)
Date: Mon, 14 Aug 2000 19:01:33 +0300
Organization: MSM Internet Service
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

I did specified c++ by adding the "CC=c++" to the make file but this gave
another error
here is the error msg:
administrator AT MACHINE3 ~/cygipc-1.05
make $
Building version.dep from version.c
Building strace.dep from strace.c
Building shm.dep from shm.c
Building sem.dep from sem.c
Building reverse.dep from reverse.c
Building msg.dep from msg.c
Building itoa.dep from itoa.c
Building ipctest.dep from ipctest.c
Building ipcs.dep from ipcs.c
Building ipcrm.dep from ipcrm.c
Building ipc-daemon.dep from ipc-daemon.c
Building ftok.dep from ftok.c
c++ -Wall -O2 -ggdb  -DVERSION_NUM=1.04 -I./include -I.  -c -o version.o
version
c.
c++ -Wall -O2 -ggdb  -DVERSION_NUM=1.04 -I./include -I.  -c -o sem.o sem.c
,In file included from include/IpcNtExt.h:51
from sem.c:41:
include/IpcNtStr.h:72: ANSI C++ forbids data member `current_nb' with same
name
as enclosing class
make: *** [sem.o] Error 1

administrator AT MACHINE3 ~/cygipc-1.05
~ $

----- Original Message -----
From: "Earnie Boyd" <earnie_boyd AT yahoo DOT com>
To: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>; "Mohammed Abdel'al"
<mma AT msm DOT com DOT eg>
Cc: "Paul Garceau" <pgarceau AT teleport DOT com>; <cygwin AT sourceware DOT cygnus DOT com>
Sent: Monday, August 14, 2000 3:09 PM
Subject: Re: working around "more" (Was Re: what is my mistake?!!!!!)


> --- "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu> wrote:
> > Well, it seems that sometime since I last built cygipc, the strace stuff
> > got reworked to be C++ instead of C.  If you look in strace.h, you see
> > that it declares an "strace" class as well as various "normal"
> > definitions.  Trying to compile ipc-daemon.c with g++ doesn't help,
> > though:
> >
> > $ g++ -Wall -O2 -DVERSION_NUM=1.04 -I./include -I.  -c -o ipc-daemon.o
> > ipc-daemon.c
> >
>
> G++ as well as gcc uses the input file suffix to determine program type.
> Either use the -x switch to specify that you want c++ or rename the
> ipc-daemon.c file to ipc-daemon.cc.
>
> Cheers,
>
> =====
> ---
>    Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
>             __Cygwin: POSIX on Windows__
> Cygwin Newbies: <http://gw32.freeyellow.com/>
>            __Minimalist GNU for Windows__
>   Mingw32 List: <http://www.egroups.com/group/mingw32/>
>     Mingw Home: <http://www.mingw.org/>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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