From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] recvmmsg(2) system call tests
Date: Tue, 6 Nov 2018 11:25:39 +0100 [thread overview]
Message-ID: <20181106102538.GA13657@rei.lan> (raw)
In-Reply-To: <7cd10b3c-3127-f6eb-0b95-0b9b42b5a77a@google.com>
Hi!
> Ok, so my test cases are using arrays on the stack dimensioned at
> run-time based on other values computed at run time. C99 is needed for
> that. I don't see any value in changing them to use alloca(), its a
> waste of time.
That is not true, at least for gcc variable arrays have been supported
as an extension in the default gnu89 mode for years now. I think that it
even predates the c99 standard, which is what I'm trying to explain for
quite some time now.
The only difference I'm aware of is how inline keyword behaves between
c99 and gnu89 mode, there may be some other minor differencies though.
The C accepted by default by a modern (10 years old+) compilers is much
closer than c99 than to the original c89.
Can we please stop this useless arguemnts and focus on the actual code
now?
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2018-11-06 10:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-31 23:57 [LTP] recvmmsg(2) system call tests Ramon Pantin
2018-11-01 11:38 ` Petr Vorel
2018-11-02 0:13 ` Ramon Pantin
2018-11-02 10:52 ` Cyril Hrubis
2018-11-03 22:16 ` Ramon Pantin
2018-11-03 22:18 ` Ramon Pantin
2018-11-05 9:40 ` Cyril Hrubis
2018-11-05 18:35 ` Ramon Pantin
2018-11-06 10:25 ` Cyril Hrubis [this message]
2018-11-03 22:37 ` Ramon Pantin
2018-11-05 10:06 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181106102538.GA13657@rei.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox