[MacPorts] #65998: legacy-support @1.0.7: error: restrict requires a pointer or reference

MacPorts noreply at macports.org
Sat Oct 15 22:08:21 UTC 2022


#65998: legacy-support @1.0.7: error: restrict requires a pointer or reference
---------------------------------------------------+--------------------
  Reporter:  kencu                                 |      Owner:  (none)
      Type:  defect                                |     Status:  new
  Priority:  Normal                                |  Milestone:
 Component:  ports                                 |    Version:
Resolution:                                        |   Keywords:
      Port:  legacy-support, legacy-support-devel  |
---------------------------------------------------+--------------------

Comment (by jmroot):

 Though of course `restrict` only makes sense on pointers, so since the
 thing pointed to is not itself a pointer, only `char * __restrict buffer`
 is applicable. And indeed that's exactly what the declaration of
 `realpath` in the system headers uses.

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


More information about the macports-tickets mailing list