Compiler warnings

Dear all,
I am very happy our Stone addon has been accepted.

Now, when the addon is installed into a grass release, the installation throws quite some compiler warnings. I wasn’t expecting that since the makefile used in the addons repo doesn’t seem to have the same (-Wunused-variable, to cite one).

Most probably I did miss something.
Where can I find a list of compiler flags to add to my makefile, to fix what I saw in the release build?

Thank you,
Andrea

Congrats Andrea and Stone team!

On GRASS core we test for -Wvla -Wall -Wextra -Wpedantic, which is run with -Werror to pass on the CI.
On GRASS-addons there are no such strict requirements yet, but if the addon will pass with those settings all the better.

Cheers,
Nicklas

On 15 Apr 2025, at 14:56, Andrea Antonello via OSGeo Discourse noreply@discourse.osgeo.org wrote:

moovida
April 15

Dear all,
I am very happy our Stone addon has been accepted.

Now, when the addon is installed into a grass release, the installation throws quite some compiler warnings. I wasn’t expecting that since the makefile used in the addons repo doesn’t seem to have the same (-Wunused-variable, to cite one).

Most probably I did miss something.
Where can I find a list of compiler flags to add to my makefile, to fix what I saw in the release build?

Thank you,
Andrea


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

1 Like

Thanks a ton Nicklas

Cheers,
Andrea