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

PostGIS trac at osgeo.org
Mon Oct 7 00:52:18 PDT 2019


#4527: Travis: error: unrecognized command line option '-Wno-unknown-warning-
option' [-Werror]
-----------------------+---------------------------
 Reporter:  strk       |      Owner:  robe
     Type:  defect     |     Status:  new
 Priority:  blocker    |  Milestone:  PostGIS 3.0.0
Component:  buildbots  |    Version:  2.5.x
 Keywords:             |
-----------------------+---------------------------
 See https://travis-ci.org/postgis/postgis/jobs/594444788#L1229

 We seem to instruct Travis to pass that switch to compiler line:

 ci/travis/run_tests.sh:5:WARNINGS_DISABLED="-Wno-unused-parameter -Wno-
 implicit-fallthrough -Wno-unknown-warning-option -Wno-cast-function-type"

 But maybe it's not supported by the GCC used by travis ? It's gcc (Ubuntu
 4.8.4-2ubuntu1~14.04.3) 4.8.4 according to https://travis-
 ci.org/postgis/postgis/jobs/594444788#L29

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