On Mon, May 14, 2018 at 02:07:27PM +0200, Dr. Philipp Tomsich wrote: > While itβs not directly related to this patch, we should clearly state that > the U-Boot code base (with the possible exception of the tools/ directory, > which I have started touching here) has _implicitly_ moved to GNU11 > (yes, even newer than C99), when be upgraded beyond GCC 5. > > For reference, see the "Default standard is now GNU11β section at > https://gcc.gnu.org/gcc-5/porting_to.html > > Do we want to > (a) document this somewhere (which file in doc/ would be appropriate?) > (b) explicitly set the β--std=β flag to make sure that people (and their > compilers) > are aware of this?
For the record, I don't see anything here as a problem. I did half suggest, and did reviewed-by just spelling out GNU11. So long as that isn't a problem for clang-5, I don't think this is a problem. The "$X is a warning" are things we've had to long since clean up. This is also not me suggesting that we make use of any particular new language features. -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot