[postgis-tickets] [PostGIS] #4527: Travis: error: unrecognized command line option '-Wno-unknown-warning-option' [-Werror]

PostGIS trac at osgeo.org
Mon Oct 7 03:17:48 PDT 2019


#4527: Travis: error: unrecognized command line option '-Wno-unknown-warning-
option' [-Werror]
------------------------+---------------------------
  Reporter:  strk       |      Owner:  Algunenano
      Type:  defect     |     Status:  new
  Priority:  blocker    |  Milestone:  PostGIS 3.0.0
 Component:  buildbots  |    Version:  2.5.x
Resolution:             |   Keywords:
------------------------+---------------------------

Comment (by Algunenano):

 > Why we'd want to ignore signedness in comparison I dunno, btw.

 That warning comes from Postgresql internal macros so it needs to be fixed
 there first (and then wait for all support for previous released to be
 dropped):

 {{{
 #define ARR_DATA_OFFSET(a) \
                 (ARR_HASNULL(a) ? (a)->dataoffset :
 ARR_OVERHEAD_NONULLS(ARR_NDIM(a)))

 /*
  * Returns a pointer to the actual array data.
  */
 #define ARR_DATA_PTR(a) \
                 (((char *) (a)) + ARR_DATA_OFFSET(a))
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4527#comment:4>
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