[geos-devel] Re: [GEOS] #489: CMAKE_CXX_FLAGS overrides -std=gnu++0x

GEOS geos-trac at osgeo.org
Mon Oct 17 18:58:47 EDT 2011


#489: CMAKE_CXX_FLAGS overrides -std=gnu++0x
------------------------+---------------------------------------------------
 Reporter:  jyasskin    |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                       
 Priority:  minor       |   Milestone:  3.3.2                     
Component:  Default     |     Version:  svn-trunk                 
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------

Comment(by jyasskin):

 Of course, you intended to override _gnu_++0x and change it to c++0x, but
 -ansi means -std=c++98 (http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/C
 -Dialect-Options.html), so it overrides -std=c++0x too.

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


More information about the geos-devel mailing list