On Fri, 2 Oct 2020 at 14:20, Alejandro Colomar wrote:
>
>
>
> On 2020-10-02 15:06, Jonathan Wakely wrote:
> > On Fri, 2 Oct 2020 at 12:31, Michael Kerrisk (man-pages)
> > wrote:
> >>
> >> On Fri, 2 Oct 2020 at 12:49, Jonathan Wakely
> wro
On Fri, 2 Oct 2020 at 13:17, Alejandro Colomar wrote:
>
> Signed-off-by: Alejandro Colomar
>
> system_data_types.7: void *: Add info about generic function parameters and
> return value
>
> Reported-by: Paul Eggert
> Reported-by: David Laight
> Signed-off-by: Alejandro Colomar
>
>
On Fri, 2 Oct 2020 at 12:31, Michael Kerrisk (man-pages)
wrote:
>
> On Fri, 2 Oct 2020 at 12:49, Jonathan Wakely wrote:
> >
> > On Fri, 2 Oct 2020 at 09:28, Alejandro Colomar via Gcc
> > wrote:
> > > However, it might be good that someone starts a pag
On Fri, 2 Oct 2020 at 09:28, Alejandro Colomar via Gcc wrote:
> However, it might be good that someone starts a page called
> 'type_qualifiers(7)' or something like that.
Who is this for? Who is trying to learn C from man pages? Should
somebody stop them?
On 25/09/20 18:30 +0200, Alejandro Colomar via Libstdc++ wrote:
I have a similar number of ARRAY_SIZE() and ARRAY_SSIZE().
I could have '#define snitems(arr) ((ptrdiff_t)nitems(arr))' in my projects,
but is it really necessary?
The barrier for adding something to glibc headers should be a LOT
On 25/09/20 18:30 +0200, Alejandro Colomar via Libstdc++ wrote:
Hello Jonathan,
On 2020-09-25 16:48, Jonathan Wakely wrote:
Do you really need to provide snitems?
Users can use (ptrdiff_t)nitems if needed, can't they?
They can, but that adds casts in the code,
which makes longer lines
On 25/09/20 16:10 +0200, Alejandro Colomar wrote:
On 2020-09-25 15:20, Alejandro Colomar wrote:
'nitems()' calculates the length of an array in number of items.
It is safe: if a pointer is passed to the macro (or function, in C++),
the compilation is broken due to:
- In >= C11:
On 22/09/20 11:10 +0200, Alejandro Colomar via Libstdc++ wrote:
[[ CC += LKML ]]
Thanks for all your input. I learned some C++ :)
The following code works for all C and C++ standards:
g++ --std={c++98, c++03, c++11, c++14, c++17, c++20}
gcc --std={c89, c99, c11, c18, c2x}
With `-Wall -Wextra
On 18/12/15 12:11 +0100, Torvald Riegel wrote:
On Wed, 2015-12-16 at 16:54 +0100, Michael Kerrisk (man-pages) wrote:
Hello Darren,
On 12/15/2015 10:18 PM, Darren Hart wrote:
> On Tue, Dec 15, 2015 at 02:43:50PM +0100, Michael Kerrisk (man-pages) wrote:
[...]
>>When executing a futex
On 18/12/15 12:11 +0100, Torvald Riegel wrote:
On Wed, 2015-12-16 at 16:54 +0100, Michael Kerrisk (man-pages) wrote:
Hello Darren,
On 12/15/2015 10:18 PM, Darren Hart wrote:
> On Tue, Dec 15, 2015 at 02:43:50PM +0100, Michael Kerrisk (man-pages) wrote:
[...]
>>When executing a futex
10 matches
Mail list logo