set a c/c++ standard for all osmocom core network projects
Hi, I would like to start a discussion to set for all osmocom core network projects a language standard (could be also set for other osmocom projects). The current state is the code is compiled with the compilers choice of c/c++. This produce unexpected build failures on newer or older system. I would like to start setting it to c11/c++11 + gnu extensions. This is a more random choice of standard. I would argue to have at least c99 for c. Any feedback? Best, lynxis -- Alexander Couzens mail: lynxis@fe80.eu jabber: lynxis@fe80.eu gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604
Hi Lynxis, On Fri, Jan 01, 2021 at 05:41:44PM +0100, Alexander 'lynxis' Couzens wrote:
I would like to start setting it to c11/c++11 + gnu extensions. This is a more random choice of standard. I would argue to have at least c99 for c.
In general I don't have much of an opinion on the specofics, just as long as whatever is chosen is supported by the toolchains of Debian 8, which is currently the oldest platform we officially support. Regards, Harald -- - Harald Welte <laforge@osmocom.org> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
participants (2)
-
Alexander 'lynxis' Couzens -
Harald Welte