This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: http://gcc.gnu.org/onlinedocs/gcc-3.3.6/gcc/Min-and-Max.html
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: gezelter at rlgsc dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 22 Feb 2011 00:25:04 +0000
- Subject: Re: http://gcc.gnu.org/onlinedocs/gcc-3.3.6/gcc/Min-and-Max.html
- References: <4D62D1CC.1020400@rlgsc.com>
On 21 February 2011 20:57, Robert Gezelter wrote:
> Gentlemen,
>
> The example of the C preprocessor implementation of MIN is erroneous:
>
> ? ? #define MIN(X,Y) ((X) < (Y) ? : (X) : (Y))
>
> should read:
>
> ? ? #define MIN(X,Y) ((X) < (Y) ? (X) : (Y))
Thanks for the report, but I don't think anyone's going to fix
problems in 3.x manuals, 4.3 is the oldest maintained version.