Change in osmo-sgsn[master]: configure.ac: define a c standard instead of using the compilers default

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Fri Jan 8 02:32:21 UTC 2021


daniel has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/21913 )

Change subject: configure.ac: define a c standard instead of using the compilers default
......................................................................


Patch Set 1:

> Patch Set 1:
> 
> The question I'd raise is what do we win with using something newer than let's say C99. I'm not against it, simply asking if gnu11 was chosen for a specific reason. It would be great to know why and have that in the commit message.

I don't think there was a specific reason for that version other than "It is well enough supported". It seems that gnu vs c actually brings more benefits than 99 vs 11. The clang default when no -std is specified is gnu11 (gnu17 since version 11). For gcc as well since around version 5.4.

So gnu11 is already the default for many and as Holger mentioned it is supported even before that

https://releases.llvm.org/11.0.0/tools/clang/docs/ReleaseNotes.html
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gcc/Standards.html#Standards
https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html
https://en.wikipedia.org/wiki/C11_%28C_standard_revision%29


-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/21913
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I9867adbed211db0a7b42ac3557f56c3042a67936
Gerrit-Change-Number: 21913
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: zecke <holger at freyther.de>
Gerrit-Comment-Date: Fri, 08 Jan 2021 02:32:21 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210108/f6279707/attachment.htm>


More information about the gerrit-log mailing list