<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 23, 2021 at 10:49 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Alex,<br>
<br>
this file has little in common with the RTEMS coding style. This is <br>
quite understandable since the style is very exotic. I don't think we <br>
will have a formatting tool which is able to produce the RTEMS style in <br>
the near future. This gives raise to some general questions.<br>
<br>
1. Do we care about the coding style?<br></blockquote><div><br></div><div>Yes. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
2. Who wants to enforce the coding style?<br></blockquote><div><br></div><div>I hope we all catch these when we spot them.</div><div><br></div><div>Alex will reformat it.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
3. Should new files use a new style understood by a well known tool and <br>
a well known coding style?<br></blockquote><div><br></div><div>That would be preferable but like the license change and SPDX markers, this</div><div>is down the list.</div><div><br></div><div>You have something that is close. If you want to add it to rtems-tools as a starting</div><div>point that is accessible, we can start to use it and see how it goes.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I see a lot of<br>
<br>
type var = initial_value;<br>
<br>
Maybe we should drop the stone age variable declarations at block begin <br>
if we choose a new style and declare and initialize local variables upon <br>
first use.<br></blockquote><div><br></div><div>I don't know when this was started but it was never part of the original </div><div>RTEMS style.</div><div><br></div><div>Personally I have never liked it.</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-- <br>
embedded brains GmbH<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax:   +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div>