grass7 @7.8.7: ISO C99 and later do not support implicit int
grass7 fails to build with newer compilers like clang 16:
https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/141432/steps/install-port/logs/stdio
main.c:1688:17: error: parameter 'imin' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
void cube(jmin, imin)
^
main.c:1688:11: error: parameter 'jmin' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
void cube(jmin, imin)
^
main.c:1688:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void cube(jmin, imin)
^
1 warning and 2 errors generated.
Change History (4)
Owner: |
set to nilason
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Upstream fixed it this way in version 8:
https://github.com/OSGeo/grass/commit/594c947ce8984f07faf28d7d71e4c902f4532069