https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77404
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Eric Gallager from comment #1) > (In reply to Tom de Vries from comment #0) > > clang supports: > > - the objc_root_class attribute, and > > - a warning Wobjc-root-class that warns if a class both: > > - does not have a superclass, and > > - does not have the objc_root_class attribute > > > > gcc: > > - does not support the -Wobjc-root-class warning, and > > - when encountering the objc_root_class attribute, gives an unsupported > > attribute warning. > > > > Is the -Wobjc-root-class warning something we want to have in gcc objc as > > well? > > > What's the reasoning behind clang having it? Do you have any links to > documentation of the warning? I can find just the commit: https://github.com/llvm-mirror/clang/commit/b2f6820773aabff3c5c9e0dbb1cbbbda0d80c41f .