Skip to contentSkip to conversation

gcc-3.5 patches

DISCUSSION Andrew Morton 2 participants 2 messages Jan 25, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Dave, let me unload a bunch of patches which fix compilation errors and warnings with gcc-3.5. Most or all of these are applicable to gcc-3.4 as well.

The most common problem is using a typecasted expression as an lvalue. This is actually a fatal error in gcc-3.5.

The sctp fix is interesting - sctp.h is using attribute((packed)) on all its structures and as far as I can tell, it never did anything.

#1 lore raw

From: Andrew Morton <[email protected]>
Date: Sun, 25 Jan 2004 03:06:24 -0800

Dave, let me unload a bunch of patches which fix compilation errors and warnings with gcc-3.5. Most or all of these are applicable to gcc-3.4 as well.

The most common problem is using a typecasted expression as an lvalue. This is actually a fatal error in gcc-3.5.

All applied, except the drivers/net ones (sans tg3) which Jeff said that he got.

The sctp fix is interesting - sctp.h is using attribute((packed)) on all its structures and as far as I can tell, it never did anything.

Amusing...