Messages on the mailing list suggest that gcc-4 presents a number of
problems.  It may be that the best fix is to force CC=gcc-3.3 until we
have a corrected upstream version.

The above-proposed patch of making the non-gnuc version unconditional
looks wrong in light of the following comment immediately above the
changed code:

 /*
 ** GNU C allows lvalue casts, so if we have gcc, use them.
 ** If we don't have gcc, then we can use *(type *)&lval,
 ** but that wouldn't work for gcc since lval might be a global
 ** register in which case we couldn't take [its] address.
 ** Similarly for comma expressions and conditional expressions.
 */

Thus, I believe a better fix would be to change

  #ifdef __GNUC__

to

  #if defined(__GNUC__) && __GNUC__ < 4

This is a no-op change from upstream for gcc-3.3.

If gcc-4 is used, then sticking to the hlc grades might be enough to
avoid gcc-4 problems.

pjrm.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to