[Bug target/61593] Support '#pragma mark - foo' on non-Darwin targets (by simply ignoring it without warning)

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 20 20:08:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61593

egallager at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org
          Component|c                           |target
            Summary|Support '#pragma mark -     |Support '#pragma mark -
                   |foo' (by simply ignoring it |foo' on non-Darwin targets
                   |without warning)            |(by simply ignoring it
                   |                            |without warning)

--- Comment #3 from egallager at gcc dot gnu.org ---
(In reply to Sean from comment #2)
> Eric, thanks for your reply.
> 
> Those docs read to me like the pragma is only supported *on* Darwin.
> 
> I guess I was not clear when creating this ticket: I'm interested in the
> pragma being accepted on any platform.
> 
> In our situation, we have portable code that runs on Darwin and Linux and
> would like to use those pragma marks in that code.

Changing component to target and re-titling, then... I'd confirm it, too, but I
only have Darwin to test on (not Linux)


More information about the Gcc-bugs mailing list