Re: MIPS: Fix build error with modern GCC for non-Cavium.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 4 Sep 2012, linux-mips@xxxxxxxxxxxxxx wrote:

> An empty default block is not allowed so add a ; as empty statement to
> make gcc happy.

 A dummy "break" is the usual solution though.  I don't think GCC ever 
complains if it sees it unreachable after a "return" -- in a sense it is 
just as unreachable as this null instruction is.

  Maciej



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux