Thread (3 messages) flat view 3 messages, 2 authors, 2012-09-15

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

From: Ralf Baechle <hidden>
Date: 2012-09-10 17:12:04

On Sat, Sep 08, 2012 at 08:28:26PM +0100, Maciej W. Rozycki wrote:
quoted
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.
I wasn't overly picky.  Whatever gets the stuff to build correctly.  I'm
doing one final round of test builds over all -stable branches before
dropping most of them like radioctive rocks.  But more on that later.

  Ralf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help