[geos-devel] [GEOS] #1105: unrecognized command line option ‘-Wno-unknown-warning-option’

GEOS geos-trac at osgeo.org
Tue Mar 2 15:31:41 PST 2021

#1105: unrecognized command line option ‘-Wno-unknown-warning-option’
 Reporter:  strk                   |       Owner:  geos-devel@…
     Type:  defect                 |      Status:  new
 Priority:  blocker                |   Milestone:  3.10.0
Component:  Build/Install (cmake)  |     Version:  master
 Severity:  Unassigned             |  Resolution:
 Keywords:                         |

Comment (by gdt):

 I have run into this with other projects.  Basically, configure.ac ( :-) )
 has to check each compiler option to see if it's really ok before adding
 it to CFLAGS.   And, because one often wants -Werror, you have to add in
 -Werror first so that -Wfoo will fail compilation instead of giving a
 warning and being judged acceptable.   And, if you don't want -Werror, I
 think one has to capture stderr, or use -Werror on the test calls.

Ticket URL: <https://trac.osgeo.org/geos/ticket/1105#comment:2>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

More information about the geos-devel mailing list