[GRASS-dev] [GRASS GIS] #1533: mm.cc fails to build with GCC 4.7
GRASS GIS
trac at osgeo.org
Tue Jan 10 10:51:40 EST 2012
#1533: mm.cc fails to build with GCC 4.7
-------------------------+--------------------------------------------------
Reporter: volter | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Compiling | Version: 6.4.1
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
{{{
mm.cc: In function 'void* operator new [](size_t)':
mm.cc:259:32: error: declaration of 'void* operator new [](size_t)' has a
different exception specifier
In file included from mm.cc:29:0:
/builddir/build/BUILD/grass-6.4.1/dist.x86_64-redhat-linux-
gnu/include/grass/iostream/mm.h:114:17: error: from previous declaration
'void* operator new [](std::size_t) throw (std::bad_alloc)'
mm.cc: In function 'void* operator new(size_t)':
mm.cc:310:30: error: declaration of 'void* operator new(size_t)' has a
different exception specifier
In file included from mm.cc:29:0:
/builddir/build/BUILD/grass-6.4.1/dist.x86_64-redhat-linux-
gnu/include/grass/iostream/mm.h:113:17: error: from previous declaration
'void* operator new(std::size_t) throw (std::bad_alloc)'
mm.cc: In function 'void operator delete(void*)':
mm.cc:362:32: error: declaration of 'void operator delete(void*)' has a
different exception specifier
In file included from mm.cc:29:0:
/builddir/build/BUILD/grass-6.4.1/dist.x86_64-redhat-linux-
gnu/include/grass/iostream/mm.h:115:15: error: from previous declaration
'void operator delete(void*) throw ()'
mm.cc: In function 'void operator delete [](void*)':
mm.cc:402:34: error: declaration of 'void operator delete [](void*)' has a
different exception specifier
In file included from mm.cc:29:0:
/builddir/build/BUILD/grass-6.4.1/dist.x86_64-redhat-linux-
gnu/include/grass/iostream/mm.h:116:15: error: from previous declaration
'void operator delete [](void*) throw ()'
make[3]: *** [OBJ.x86_64-redhat-linux-gnu/mm.o] Error 1
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1533>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list