Opened 5 weeks ago

Last modified 5 weeks ago

#73653 new defect

xskat @4.0: error: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]

Reported by: fdik (Volker Birk) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.12.3
Keywords: haspatch sequoia tahoe Cc:
Port: xskat

Description (last modified by fdik (Volker Birk))

This is a small one:

null.c +181 needs explicit datatype “int” for the two parameters, then this beast compiles again.

Change History (2)

comment:1 Changed 5 weeks ago by fdik (Volker Birk)

Description: modified (diff)

comment:2 Changed 5 weeks ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch sequoia tahoe added; xskat games removed
Summary: xskat does not compile, patch availablexskat @4.0: error: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]

You did not say what error you got, but from buildbot logs I can see the error is like:

null.c:181:14: error: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
  181 | int minmaxfb(f,fb)
      |              ^

You can submit a pull request for this fix if you wish. Otherwise, someone else may get around to it eventually.

Note: See TracTickets for help on using tickets.