The following reply was made to PR c/8548; it has been noted by GNATS. From: Andreas Schwab To: Frank.Cornelis@elis.rug.ac.be Cc: gcc-gnats@gcc.gnu.org Subject: Re: c/8548: switch-statement Date: Tue, 12 Nov 2002 17:05:35 +0100 Frank.Cornelis@elis.rug.ac.be writes: |> switch (family) { |> case PF_LOCAL: |> case PF_UNIX: |> break; |> } |> is not a legal statement according to GCC because the macro's evaluate to the same value. This would be true for case-statements with a break in between, not for case-statements handled by the same body. Should be fixed. Yes, you should fix your code. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."