From: Date: June 11 2007 4:00pm Subject: Re: MySQL-5.1 does not compile with gcc 4.2.0 List-Archive: http://lists.mysql.com/internals/34721 Message-Id: <20070611140040.GA40115@polejan.hw.v5d.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 30, 2007 at 10:27:55 +0300, Vasil Dimov wrote: [...] > One solution would be to s/max/MAX/ everywhere in the code. An easier _workaround_ is to #define max after #include in include/my_global.h. --=20 Vasil Dimov moc.elcaro@stripped Software Developer @ Oracle/Innobase Oy gro.DSBeerF@dv Committer @ FreeBSD.org gro.d5v@dv Home @ Sofia, Bulgaria --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFGbVWIFw6SP/bBpCARAip9AJ9RsDGjbxNmcWYRV/EwaCD7XTEjnwCgnRlC y7zEOjPtj53zfalIsuXXzR8= =NXUv -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--