Re: http://gcc.gnu.org/onlinedocs/gcc-3.3.6/gcc/Min-and-Max.html

2011-02-21 Thread Jonathan Wakely
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 any

http://gcc.gnu.org/onlinedocs/gcc-3.3.6/gcc/Min-and-Max.html

2011-02-21 Thread Robert Gezelter
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)) - Bob +--+ | Robert "Bob" Gezelte