On Tue, Apr 09, 2002 at 04:58:42PM +0200, Alexander Leidinger wrote: > quad.h contains: > ---snip--- > /* > * XXX > * Compensate for gcc 1 vs gcc 2. Gcc 1 defines ?sh?di3's second argument > * as u_quad_t, while gcc 2 correctly uses int. Unfortunately, we still use > * both compilers. > */ > #if __GNUC__ >= 2 > typedef unsigned int qshift_t; > #else > typedef u_quad_t qshift_t; > #endif > ---snip--- > > Is this still valid? Does someone really use gcc 1 to compile FreeBSD?
I assume your question stems from trying to use icc. Please wrap this bit [semi]-properly with: #ifdef __GNUC__ #if __GNUC__ >= 2 typedef unsigned int qshift_t; #else typedef u_quad_t qshift_t; #endif #endif You can then put a defintion for #ifdef __IC To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message