|
From: | David Lobron |
Subject: | [bug #51842] derived_src class has no base: correct, but triggers a warning from clang-6.x |
Date: | Thu, 24 Aug 2017 14:05:35 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?51842> Summary: derived_src class has no base: correct, but triggers a warning from clang-6.x Project: GNUstep Submitted by: dlobron Submitted on: Thu 24 Aug 2017 06:05:33 PM UTC Category: Base/Foundation Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: When I upgraded to clang-6.0.0 on Linux, a build of my code triggered a warning: Compiling file derived_src/NSFramework_AkamaiKit.m ... derived_src/NSFramework_AkamaiKit.m:2:12: warning: class 'NSFramework_AkamaiKit' defined without specifying a base class [-Wobjc-root-class] @interface NSFramework_AkamaiKit ^ derived_src/NSFramework_AkamaiKit.m:2:33: note: add a super class to fix this problem @interface NSFramework_AkamaiKit ^ : NSObject I can work around this by adding -Wno-objc-root-class to my build, but it would be better if this auto-generated code could could be wrapped in a macro that would prevent the warning. It's correct for there to be no super class. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51842> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |