Nice surprise with C++11

Daniel Gutson daniel.gutson at tallertechnologies.com
Thu Jul 30 14:07:25 UTC 2015


I don't it's a language issue: https://ideone.com/k1vz5d
 El 30/7/2015 10:51, "Gedare Bloom" <gedare at gwu.edu> escribió:

> OK, I guess this makes the convention "minimize parentheses" mandatory
> if we want C++11. I guess the basic problem is that constructions
> where a single atom is in parens may produce different results now. At
> least an error is emitted rather than silent optimization..
>
> -Gedare
>
> On Thu, Jul 30, 2015 at 2:49 AM, Sebastian Huber
> <sebastian.huber at embedded-brains.de> wrote:
> > Hello,
> >
> > please have a look at the following bug:
> >
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064
> >
> > This is really nice in combination with defines and macros that use ( )
> to
> > make sure the content stays together.
> >
> > --
> > Sebastian Huber, embedded brains GmbH
> >
> > Address : Dornierstr. 4, D-82178 Puchheim, Germany
> > Phone   : +49 89 189 47 41-16
> > Fax     : +49 89 189 47 41-09
> > E-Mail  : sebastian.huber at embedded-brains.de
> > PGP     : Public key available on request.
> >
> > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> >
> > _______________________________________________
> > devel mailing list
> > devel at rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150730/9b57f711/attachment-0002.html>


More information about the devel mailing list