[MacPorts] #72428: legacy-support header error with C90: LegacySupport/dirent.h: error: expected '; ' before 'int'

MacPorts noreply at macports.org
Thu May 1 04:03:54 UTC 2025


#72428: legacy-support header error with C90: LegacySupport/dirent.h: error:
expected ';' before 'int'
-----------------------------+--------------------
  Reporter:  barracuda156    |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  legacy-support  |    Version:  2.10.5
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+--------------------

Comment (by barracuda156):

 Replying to [comment:3 fhgwright]:
 > Replying to [comment:2 fhgwright]:
 > As far as the cause of the `-std=c90` is concerned, you might look to
 see whether this is coming from a misbehaving configure test.

 The cause is found – the source hardcodes that in one of the files, which
 gets propagated to the Makefile controlling that directory.
 I will follow your suggestion and instead of dropping the flag will
 replace it with c89. Thank you.

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


More information about the macports-tickets mailing list