From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 09 May 2018 13:38:37 +0200 Subject: [U-Boot] GCC 7.x vs. C++ comments In-Reply-To: <20180509111627.GD12235@bill-the-cat.ec.rr.com> References: <5B756B92-A9EE-4227-9D8E-887F6E8E1597@theobroma-systems.com> <20180509111627.GD12235@bill-the-cat.ec.rr.com> Message-ID: <20180509113837.59F33240036@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Dear Tom, In message <20180509111627.GD12235@bill-the-cat.ec.rr.com> you wrote: >=20 > > What=E2=80=99s your preferred solution: > > (a) change these comments > > (b) change our Makefiles to let GCC know that we are compiling gnu99/C= 99? > >=20 > > Neither solution is too appealing to me, so I am asking... > > Lets go with (b) which I guess what a more modern toolchain defaults to > anyhow. Thanks! I disagree. UI-Boot always discouraged the use of C++ comments, see for example bullet # 5 at [1]. We should clearly fix the comments, please. [1] http://www.denx.de/wiki/U-Boot/Coding Best regards, Wolfgang Denk --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "It takes all sorts of in & out-door schooling to get adapted to my kind of fooling" - R. Frost