[GRASS-dev] grass compile error on launchpad

Hi,

There are build failure on grass70 on GRASS PPA Launchpad.

the part from error log:


iscatt_core.c: In function 'compute_scatts_from_chunk_row':
iscatt_core.c:580:4: warning: statement with no effect [-Wunused-value]
iscatt_core.c:581:17: error: expected ';' before 'G_gettext'

The full log can be found here:

https://launchpadlibrarian.net/151576321/buildlog_ubuntu-quantal-amd64.grass70_7.0.0%2B0ubuntu2%2B29199~ubuntu12.10.1_FAILEDTOBUILD.txt.gz

Is this only launchpad or anyone have problems because error message doesn’t seems so

Regards,
Rashad

Rashad:

There are build failure on grass70 on GRASS PPA Launchpad.

the part from error log:

...

iscatt_core.c: In function 'compute_scatts_from_chunk_row':

iscatt_core.c:580:4: warning: statement with no effect [-Wunused-value]
iscatt_core.c:581:17: error: expected ';' before 'G_gettext'
...

Is this only launchpad or anyone have problems because error message doesn't seems so

Hi,

I got cc'd on the launchpad error too and already fixed it in svn. Easy fix, just a missing (). Perhaps some other compiler warnings there to look at though.

thanks,
Hamish

Hi Hamish thanks for quick fix,

Yesterday I tried to erase all compiler warning which gcc showed me. But I am not sure if I have correct setting of compiler to show me all warnings. Could you give me some advice with this?

Stepan

---------- Původtní zpráva ----------
Od: Hamish
Datum: 27. 9. 2013
Předmět: Re: [GRASS-dev] grass compile error on launchpad

Rashad:

There are build failure on grass70 on GRASS PPA Launchpad.

the part from error log:

...

iscatt_core.c: In function 'compute_scatts_from_chunk_row':

iscatt_core.c:580:4: warning: statement with no effect [-Wunused-value]
iscatt_core.c:581:17: error: expected ';' before 'G_gettext'
...

Is this only launchpad or anyone have problems because error message doesn't seems so

Hi,

thanks,
Hamish

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Štěpán wrote:

Yesterday I tried to erase all compiler warning which gcc showed me. But I am
not sure if I have correct setting of compiler to show me all warnings. Could
you give me some advice with this?

it's not so bad actually, after a svn up and 'make distclean' only one minor one remains from gcc 4.4.5 using
CFLAGS="-g -march=native -Wall -Werror-implicit-function-declaration -fno-common -Wextra -Wunused"

iscatt_core.c: In function 'compute_scatts_from_chunk_row':
iscatt_core.c:454: warning: unused parameter 'region'

thanks,
Hamish

it’s not so bad actually, after a svn up and ‘make distclean’ only one minor one remains from gcc 4.4.5 using
CFLAGS=“-g -march=native -Wall -Werror-implicit-function-declaration -fno-common -Wextra -Wunused”

thank you.

iscatt_core.c: In function ‘compute_scatts_from_chunk_row’:
iscatt_core.c:454: warning: unused parameter ‘region’

should be fixed in r57852.

Stepan

Thanks to all. I will sync svn and do a build right now

···

On Fri, Sep 27, 2013 at 10:37 AM, Štěpán Turek <stepan.turek@seznam.cz> wrote:

it’s not so bad actually, after a svn up and ‘make distclean’ only one minor one remains from gcc 4.4.5 using
CFLAGS=“-g -march=native -Wall -Werror-implicit-function-declaration -fno-common -Wextra -Wunused”

thank you.

iscatt_core.c: In function ‘compute_scatts_from_chunk_row’:
iscatt_core.c:454: warning: unused parameter ‘region’

should be fixed in r57852.

Stepan


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Regards,
Rashad