[MacPorts] #67791: grass7 @7.8.7: ISO C99 and later do not support implicit int

MacPorts noreply at macports.org
Fri Jul 21 13:24:46 UTC 2023


#67791: grass7 @7.8.7: ISO C99 and later do not support implicit int
------------------------+--------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  grass7
------------------------+--------------------
 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.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67791>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list