https://www.sfgate.com/bayarea/article/san-leandro-bayfair-center-sold-17523024.php

The mighty bayfair mall was closed some time ago & finally sold for conversion into condos.  It will now be condofair.  In all the years of waiting there on BARF trains, never ever went in there.  It would have entailed paying to go out & into the station.


There was 1 time when the lion kingdom needed an extra mask & would have gone there, but it wasn't worth the cost of going there.  There are STILL animals who wear masks.


The mane runs that lions do without cars are BARF to the berkeley marina & BARF to the ocean.


New for g++ 11: 

Functions returning non void don't exit anymore without a return statement.  They just fall through to the next function until they hit a return statement.

The warnings are either "no return in function returning non-void" or "control reaches end of non void function".

The behavior has formally become known as flowing off the end of a function.

It's kind of an unbelievable behavior, since it makes code incredibly fragile.  Scoping in brackets was always fundamental to C.  Ignoring the brackets is a fundamental change.  It might be a trait from python, since variables in python aren't scoped based on indentation. A global python variable stays around after the end of the function.

There are many 3rd party libraries & contributions which lack return statements in non void functions.

-Werror=return-type 
might catch all the cases, but it's pretty hopeless to add it to hundreds of libraries.  The problem doesn't seem to happen in C programs.





Comments

Popular posts from this blog