delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/15/14:36:28

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 15 Aug 2000 14:35:18 -0400
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: working around "more" (Was Re: what is my mistake?!!!!!)
Message-ID: <20000815143518.A8185@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com
References: <20000814162351 DOT 24847 DOT qmail AT web114 DOT yahoomail DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <20000814162351.24847.qmail@web114.yahoomail.com>; from earnie_boyd@yahoo.com on Mon, Aug 14, 2000 at 09:23:51AM -0700

On Mon, Aug 14, 2000 at 09:23:51AM -0700, Earnie Boyd wrote:
>--- "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu> wrote:
>> 
>> But the question is, should sys/strace.h *really* contain C++
>> constructs? I thought system header files were supposed be universally
>> C, not C++.
>> 
>
>Well, Chris will have to answer this question *really*, but my guess would be
>that it's because the strace program is a c++ program.  Possibly, the strace.h
>file should be renamed to strace and a new strace.h for wrappers to the c++
>functions be created, if you catch what I mean.  I'm not at all well versed in
>c++ so forgive me if I'm off track.

The strace.h file has been c++ only since March 7.

Personally, I think it was a mistake to expose strace to external
programs.  IMO, this is an "OS" interface.

However, for now, you'll need to use c++ to access strace.

I've recently also made changes to accomodate some newer gccs which
have deprecated some of the usages that I'd relied on in the header.

FYI, DJ, Corinna, and I are at a meeting this week, so our responses
to email will be pretty slow.

cgf

--
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