[GRASS-dev] [GRASS GIS] #2871: lib/iostream/mm.cpp:Fails to build with GCC 6: declaration of ... has a different exception specifier

GRASS GIS trac at osgeo.org
Fri Mar 11 05:01:02 PST 2016


#2871: lib/iostream/mm.cpp:Fails to build with GCC 6: declaration of ... has a
different exception specifier
------------------------+---------------------------------
  Reporter:  sebastic   |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  blocker    |  Milestone:  7.0.4
 Component:  Compiling  |    Version:  svn-releasebranch70
Resolution:             |   Keywords:  iostream
       CPU:  All        |   Platform:  Linux
------------------------+---------------------------------

Comment (by glynn):

 Replying to [comment:6 neteler]:

 > I see (somehow).. but how to solve the new compilation error? Or is it
 "only" related to the compiler flags used by default?

 It seems to be related to either the compiler version or the language
 version or some combination of those.

 In the worst case, we may need to use preprocessor tests to either include
 or omit the exception specification depending on various macros. But I
 really have no idea what it should be testing for.

 This has been reported as
 [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57632 gcc bug 57632], but
 there's no resolution so far.

 If it turns out only to be an issue with an "experimental" gcc release, I
 think it can be ignored.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2871#comment:7>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list