[GRASS-dev] build error against GCC 4.7

Angelos Tzotsos gcpp.kalxas at gmail.com
Wed Sep 5 15:16:17 PDT 2012


On 09/06/2012 01:08 AM, Markus Neteler wrote:
> On Wed, Sep 5, 2012 at 11:32 PM, Angelos Tzotsos <gcpp.kalxas at gmail.com> wrote:
>> Hi all,
>>
>> openSUSE 12.2 is out today and I am updating the GRASS package for it.
> [it is the GRASS 6.4.2 version according to the log file]
>
>> There is an error during build with GCC 4.7 and I wanted to check here
>> before I make a custom patch.
>>
>> https://build.opensuse.org/package/rawlog?arch=i586&package=grass&project=Application%3AGeo&repository=openSUSE_12.2
>>
>> The error:
>>
>> [  664s] ami_stream.cc:46:1: warning: deprecated conversion from string
>> constant to 'char*' [-Wwrite-strings]mm.cc: In function 'void* operator new
>> [](size_t)':
>> [  664s] mm.cc:259:32: error: declaration of 'void* operator new [](size_t)'
>> has a different exception specifier
> This has been fixed for the upcoming 6.4.3:
> http://trac.osgeo.org/grass/changeset/51638/grass/branches/releasebranch_6_4/lib/iostream/mm.cc
>
>> Would someone like to provide a patch for this error?
> See the fix in r51638.
>
> Markus
>

Hi Markus,

Thank you for the info, I will apply a patch based on r51638.

Best regards,
Angelos

-- 
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
http://users.ntua.gr/tzotsos



More information about the grass-dev mailing list