Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How ANSI can we assume C?
- X-seq: zsh-workers 20851
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: How ANSI can we assume C?
- Date: Wed, 23 Feb 2005 11:01:04 +0000
- In-reply-to: <200502231242.26138.arvidjaar@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200502231223.08125.arvidjaar@xxxxxxxxxx> <200502231242.26138.arvidjaar@xxxxxxxxxx>
Andrey Borzenkov wrote:
> On Wednesday 23 February 2005 12:23, Andrey Borzenkov wrote:
> > As long as widechar support remains conditional, defining wide/non-wide
> > versions really becomes nightmare.
> >
> > Specifically I'd like simply use
> >
> > #define ZWC(c) L ## c (or even L ## 'c')
> ^^^^^^^^^^^^^^^^^ nope, bad idea
> >
> > and use it everyhere. It is much easier to use than inventing obscure names
> > for characters.
> >
>
> And it also allows wide strings in place which is fast impossible otherwise
> without tons of ifdef
The code is already full of "const"s. I suspect we can probably get
away with this. I hope the last K&R compiler has now died...
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author