On Thu, Feb 11, 2016 at 01:36:49PM -0700, Martin Sebor wrote:
> >>The flexible array addition looks great to me. Thank you!
> >
> >Great. I'll commit the patch.
>
> Actually, there is one other thing that might be wort mentioning
> about flexible array members.
>
> The type and mangling of flexi
The flexible array addition looks great to me. Thank you!
Great. I'll commit the patch.
Actually, there is one other thing that might be wort mentioning
about flexible array members.
The type and mangling of flexible array members has changed. While
in GCC 5 and prior the type of a flexible
On Thu, Feb 11, 2016 at 11:45:37AM -0700, Martin Sebor wrote:
> >> struct X {
> >> const static double i = 3.14;
> >> };
> >>
> >> error: floating-point literal cannot appear in a constant-expression
> >> const static double i = 3.14;
> >>^~~~
> >
> >Hm, in
struct X {
const static double i = 3.14;
};
error: floating-point literal cannot appear in a constant-expression
const static double i = 3.14;
^~~~
Hm, indeed; I hadn't notice that. Dunno if is a bug (clang++ accepts this
with a warning). I've ad
On Thu, Feb 11, 2016 at 10:09:19AM -0700, Martin Sebor wrote:
> It''s interesting that when the example is modified to use a double
> initializer it is rejected with a hard error even in C++ 03 mode
> when -Wpedantic (but not -Werror) is used. That seems like a bug.
> If it isn't, it might be wort
On 02/11/2016 09:39 AM, Marek Polacek wrote:
On Thu, Feb 11, 2016 at 03:26:13PM +, Jonathan Wakely wrote:
On 11/02/16 15:20 +0100, Marek Polacek wrote:
Does this look ok?
Looks OK, although how about stressing that it was only allowed as an
extension previously, e.g. ...
So like this?
On Thu, Feb 11, 2016 at 05:01:58PM +, Jonathan Wakely wrote:
> On 11/02/16 17:39 +0100, Marek Polacek wrote:
> >On Thu, Feb 11, 2016 at 03:26:13PM +, Jonathan Wakely wrote:
> >>On 11/02/16 15:20 +0100, Marek Polacek wrote:
> >>>Does this look ok?
> >>
> >>Looks OK, although how about stress
On 11/02/16 17:39 +0100, Marek Polacek wrote:
On Thu, Feb 11, 2016 at 03:26:13PM +, Jonathan Wakely wrote:
On 11/02/16 15:20 +0100, Marek Polacek wrote:
>Does this look ok?
Looks OK, although how about stressing that it was only allowed as an
extension previously, e.g. ...
So like this?
On Thu, Feb 11, 2016 at 03:26:13PM +, Jonathan Wakely wrote:
> On 11/02/16 15:20 +0100, Marek Polacek wrote:
> >Does this look ok?
>
> Looks OK, although how about stressing that it was only allowed as an
> extension previously, e.g. ...
So like this? I've also added a note about stricter fl
On 11/02/16 15:20 +0100, Marek Polacek wrote:
Does this look ok?
Looks OK, although how about stressing that it was only allowed as an
extension previously, e.g. ...
Index: porting_to.html
===
RCS file: /cvs/gcc/wwwdocs/htdocs/g
Does this look ok?
Index: porting_to.html
===
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/porting_to.html,v
retrieving revision 1.9
diff -u -r1.9 porting_to.html
--- porting_to.html 10 Feb 2016 17:21:54 - 1.9
+++ porting_to.h
11 matches
Mail list logo