Changes between Initial Version and Version 1 of Ticket #64909


Ignore:
Timestamp:
Mar 30, 2022, 6:56:55 AM (3 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

FYI:

Here's what blocks are: https://en.wikipedia.org/wiki/Blocks_(C_language_extension)

Here's the ticket about gcc not supporting them yet: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352

Probably the only sane path forward for this is for gcc to implement support for blocks. Then this port can use gcc to build on PowerPC. It's probably unreasonable to expect upstream to abandon the useful blocks feature in their code for the benefit of ancient systems, and it's probably unreasonable for MacPorts to develop and carry forward forever a large patch for this.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64909

    • Property Status changed from new to assigned
    • Property Owner set to i0ntempest
    • Property Type changed from request to defect
  • Ticket #64909 – Description

    initial v1  
    1 Could anyone advise me if this can be rewritten in standard C? gcc does not process this __block code correctly:
     1Could anyone advise me if this can be rewritten in standard C? gcc does not process this `__block` code correctly:
    22
    33