[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANNOUNCE] Lua 5.0 (work0)
- From: Daniel Silverstone <dsilvers@...>
- Date: Thu, 6 Jun 2002 19:43:38 +0100
On Thu, Jun 06, 2002 at 02:56:33PM -0300, Roberto Ierusalimschy wrote:
> If we put the "return", some compilers complain. If we do not, others
> complain. Does anyone knows a solution?
At work, we deal with this by having a define called TOKENRETURN
which is defined as:
#define TOKENRETURN(X) return (X)
for compilers which need it, and
for compilers which need it to not be there.
Then we trigger based on host configs for whether to set it or not.
You could add some configuration into the config makefile and add a define
similar to that
Daniel Silverstone http://www.digital-scurf.org/
Hostmaster, Webmaster, and Chief Code Wibbler Digital-Scurf Unlimited
GPG Public key available from keyring.debian.org KeyId: 20687895
Bank error in your favor. Collect $200.