[GRASS-dev] [GRASS GIS] #2956: iostream compilation error: declaration of 'void* operator new [](size_t) throw (std::bad_alloc)' has a different exception specifier

GRASS GIS trac at osgeo.org
Sat Jul 9 12:05:30 PDT 2016


#2956: iostream compilation error: declaration of 'void* operator new [](size_t)
throw (std::bad_alloc)' has a different exception specifier
------------------------+-------------------------
  Reporter:  neteler    |      Owner:  grass-dev@…
      Type:  defect     |     Status:  closed
  Priority:  blocker    |  Milestone:  7.0.4
 Component:  Compiling  |    Version:  7.0.3
Resolution:  duplicate  |   Keywords:  iostream
       CPU:  All        |   Platform:  Linux
------------------------+-------------------------

Comment (by wenzeslaus):

 In [changeset:"68912" 68912]:
 {{{
 #!CommitTicketReference repository="" revision="68912"
 use exception specifiers only for C++ versions older than C++11 (backport
 r68818, closes #2871, see #2956)
 }}}

--
Ticket URL: </ticket/2956#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list