[MacPorts] #61870: primegen @0.97_0: implicitly declaring library function 'printf', 'exit'

MacPorts noreply at macports.org
Tue Dec 29 06:32:17 UTC 2020


#61870: primegen @0.97_0: implicitly declaring library function 'printf', 'exit'
--------------------------+--------------------------------------
  Reporter:  vespasian99  |      Owner:  toy
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.4
Resolution:  fixed        |   Keywords:  bigsur catalina haspatch
      Port:  primegen     |
--------------------------+--------------------------------------
Changes (by Ivan Kuchin <tadump+git@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7752f4c66c4b4a08725b2dcf75fb71c558f48053/macports-ports"
 7752f4c66c4b4a08725b2dcf75fb71c558f48053/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="7752f4c66c4b4a08725b2dcf75fb71c558f48053"
 primegen: Fix implicit function declarations

 Fix issues in code that are causing error in Xcode 12 and caused
 warnings in previous versions. Namely include missing stdio.h, use int
 as return type for main and use return instead of exit in main.

 Closes: https://trac.macports.org/ticket/61870
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61870#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list