On Sat, Apr 4, 2020, 1:01 AM Gedare Bloom <ged...@rtems.org> wrote: > On Fri, Apr 3, 2020 at 1:11 PM Vaibhav Gupta <vaibhav.varo...@gmail.com> > wrote: > > > > IMO we should have a rule for nested CPP directives. > > And also the commenting. It makes the code more readable > > as a part of good coding style. > > > > Specially if the directives are nested, because they don't > > use brackets, too many opening-closing pair can make > > the code hard to read. > > > > We do have some precedent for aligning the #ifdef with the surrounding > code when it is in a scoped block. I can at least get on board with > that, and the commenting. The discussion should be had in a separate > thread though. Would you care to present the proposal? > Sure!
--Vaibhav Gupta > > > > -- Vaibhav Gupta >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel