Re: pipestream, 5th attempt

2001-11-08 Thread Andre Poenitz
On Thu, Nov 08, 2001 at 12:50:53PM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Works well with compaq cxx 6.2 in strict_ansi mode. If I switch to > 'super fussy' mode, I get: > > cxx: Info: pipestream.C, line 158: conversion to integral typ

Re: pipestream, 5th attempt

2001-11-08 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Works well with compaq cxx 6.2 in strict_ansi mode. If I switch to 'super fussy' mode, I get: cxx: Info: pipestream.C, line 158: conversion to integral type of smaller size could lose data int_type rval = ::read(sock_,

Re: pipestream, 5th attempt

2001-11-07 Thread Andre Poenitz
On Wed, Nov 07, 2001 at 10:30:31AM +0100, Lars Gullik Bjønnes wrote: > How hard would it be to have > > pipestream(char const * const cmd); > > as the signature, and split it into arguments inside the create > method? Not really hard, but we can't use arguments with spaces then or we wo

Re: pipestream, 5th attempt

2001-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2001 at 09:22:58PM +0100, Lars Gullik Bjønnes wrote: > | class pipestream : public std::iostream { > | public: > | /// constructor taking the external command as argument > | explicit pipestream(char const * const cmd[]); > | /// constructor taking the external command