bug-cvs
[Top][All Lists]
Advanced

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

Re: advisory locks patch


From: Derek Robert Price
Subject: Re: advisory locks patch
Date: Mon, 30 Aug 2004 10:30:08 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark D. Baushke wrote:

> |    ISO C99 and ISO C++ allow declarations and code to be freely mixed
> | within compound statements.  As an extension, GCC also allows this in
> | C89 mode.  For example, you could do:
> |
> |      int i;
> |      /* ... */
> |      i++;
> |      int j = i + 2;
> |
> |    Each identifier is visible from where it is declared until the
> end of
> | the enclosing block.
>
> However, older compilers will still have problems, so it probably is
> better to avoid this particular kind of code if possible.


Yes.  So far, we have been deferring to GNULIB in their choice of
compiler support and, currently, that means we assume only a
freestanding C89 compiler, as mentioned in this thread
<http://lists.gnu.org/archive/html/bug-cvs/2003-07/msg00174.html> and
in the "HACKING" file.  Basically, I think we agreed that assuming C99
would not cover enough common development environments yet..

Cheers,

Derek
- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBMzntLD1OTBfyMaQRAjpkAKDSNcNAZ2igKsT3v/ORiLW7blkUGgCg+TlR
SrGqsS5qTniVMGzrwPvyeNg=
=kXO0
-----END PGP SIGNATURE-----





reply via email to

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