Survey of "duplicate case in switch" errors

Dave Hollenbeck dbh at hpesrgd.HP.COM
Tue Jan 24 06:34:15 AEST 1989


HP-UX version 2.0 on a 9000/825 says this:

cc: "test.c", line 13: error 1526: Duplicate case constant (5) in switch.

Looks right to me, although sometimes I wish I *could* have duplicates.



More information about the Comp.lang.c mailing list