[postgis-tickets] [PostGIS] #4116: Select a C standard and include in CFLAGS
PostGIS
trac at osgeo.org
Thu Jul 5 00:31:49 PDT 2018
#4116: Select a C standard and include in CFLAGS
----------------------+---------------------------
Reporter: dbaston | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.5.0
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------+---------------------------
Comment (by Algunenano):
I definitely like the idea of updating the c standard. I think `c89` is
being used because it's the default for Postgresql but since some language
extensions were used (M_PI is another example) the de facto standard is
`gnu89`.
If we decided to update I'd go with `c11` directly, which is fully
supported from gcc 4.9+ (and partially before that,
https://gcc.gnu.org/wiki/C11Status), released in 2014, but I'd be
satisfied with c99 too.
Nevertheless, I wouldn't update it for 2.5 (for the sake of keeping
compatibility) but I would for the next one (2.6?, 3.0?).
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4116#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list