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

MacPorts noreply at macports.org
Sat Oct 15 21:47:32 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):

 Putting a qualifier in the middle of a type specifier does seem
 questionably valid. I would think you should write either `__restrict char
 *buffer` or `char * __restrict buffer`, not `char __restrict *buffer`.

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


More information about the macports-tickets mailing list