bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reply to Mr Verdoolaege about wide chars


From: Rod Chamberlin
Subject: Re: Reply to Mr Verdoolaege about wide chars
Date: Fri, 5 Oct 2001 12:44:57 +0100 (BST)

On Fri, 5 Oct 2001, Alexander Viro wrote:

> 
> 
> On Fri, 5 Oct 2001, Rod Chamberlin wrote:
> 
> > On Fri, 28 Sep 2001, Thomas Dickey wrote:
> > 
> > > On Fri, Sep 28, 2001 at 01:18:24PM +0100, Rod Chamberlin wrote:
> > > > I think the thing you need to beware of if you are returning structures 
> > > > is
> > > > thread safety, since the structure is usually returned in a standard
> > > > common block of memory rather than in a register/on the stack.
> > > 
> > > is that gcc only, or generally true of C compilers?
> 
> It's not gcc.  It's an ancient pcc bug that had crapped calling conventions
> on old Unices.  Fixed more than a decade ago...
> 

Damn, showing my age:P

> > I'm not sure actually; it's something I read a while back about the use of
> > structure return-values.  I tend to try to avoid them, and just pass them
> > by reference, but I guess that isn't feasible here.
> 

.............................Rod

+-----------------------------------------------------------------------------+
| Rod Chamberlin               | address@hidden   Tel +44 23 8023 2345        |
| Software Development Manager |                  Mob +44 7803 295406         |
| QueriX                       |                  Fax +44 23 8039 9685        |
+-----------------------------------------------------------------------------+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]