https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61593
Bug ID: 61593 Summary: Support '#pragma mark - foo' (by simply ignoring it without warning) Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: s...@rogue-research.com On OS X, it is common to use: #pragma mark - foo to divide source code into sections. This is supported by clang and Apple's old gcc fork. gcc however warns: warning: ignoring #pragma mark [-Wunknown-pragmas] And -Wunknown-pragmas is part of -Wall. I'm aware I could use -Wno-unknown-pragmas, but building clean at -Wall is important. As clang does a lot to be compatible with gcc, I'm hoping gcc can do a little to be compatible with clang here. :) No codegen or anything would be required, just ignore and don't warn when #pragma mark is encountered. Cheers.