On 06/18/2018 05:00 PM, Martin Sebor wrote:
> Attached is an updated patch with the additional text as
> discussed below.
OK with a ChangeLog entry.
jeff
Attached is an updated patch with the additional text as
discussed below.
Martin
On 06/11/2018 03:05 PM, Martin Sebor wrote:
On 06/11/2018 02:03 PM, Richard Sandiford wrote:
Martin Sebor writes:
On 06/11/2018 12:08 PM, Richard Sandiford wrote:
Martin Sebor writes:
@@ -1553,12 +1553,28 @@
On 06/11/2018 02:03 PM, Richard Sandiford wrote:
Martin Sebor writes:
On 06/11/2018 12:08 PM, Richard Sandiford wrote:
Martin Sebor writes:
@@ -1553,12 +1553,28 @@ struct line *thisline = (struct line *)
thisline->length = this_length;
@end smallexample
-In ISO C90, you would have to give
Martin Sebor writes:
> On 06/11/2018 12:08 PM, Richard Sandiford wrote:
>> Martin Sebor writes:
>>> @@ -1553,12 +1553,28 @@ struct line *thisline = (struct line *)
>>> thisline->length = this_length;
>>> @end smallexample
>>>
>>> -In ISO C90, you would have to give @code{contents} a length of 1
On 06/11/2018 12:08 PM, Richard Sandiford wrote:
Martin Sebor writes:
@@ -1553,12 +1553,28 @@ struct line *thisline = (struct line *)
thisline->length = this_length;
@end smallexample
-In ISO C90, you would have to give @code{contents} a length of 1, which
-means either you waste space or co
Martin Sebor writes:
> @@ -1553,12 +1553,28 @@ struct line *thisline = (struct line *)
> thisline->length = this_length;
> @end smallexample
>
> -In ISO C90, you would have to give @code{contents} a length of 1, which
> -means either you waste space or complicate the argument to @code{malloc}.
Following the brief discussion Re: aliasing between internal
zero-length-arrays and other members(*) the attached patch
updates the documentation of Zero-length arrays to clarify
that the only valid accesses are to those where the array is
the last member of a struct.
I also took the liberty to m