From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19186 invoked by alias); 26 Oct 2014 18:44:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 19155 invoked by uid 48); 26 Oct 2014 18:43:56 -0000 From: "daniel.kruegler at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63650]=?UTF-8?Q?=20conflicting=20type=20attributes=20specified=20for=20=E2=80=98virtual?=..' Date: Sun, 26 Oct 2014 19:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.kruegler at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg02033.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63650 --- Comment #4 from Daniel Kr=C3=BCgler --- (In reply to Richard PALO from comment #3) > I initially replied that there was an error in my original, please > correct the first three lines to: > #ifndef HIDDEN > #define HIDDEN __attribute__((visibility("hidden"))) > #endif This now leads to another error in regard to #endif without #if. Please provide a complete code that demonstrates the error. >>From gcc-bugs-return-465013-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 26 19:32:10 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4084 invoked by alias); 26 Oct 2014 19:32:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4024 invoked by uid 48); 26 Oct 2014 19:32:04 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63651] New: Lot of failures in obj(c|-c++) with yosemite Date: Sun, 26 Oct 2014 19:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg02034.txt.bz2 Content-length: 1823 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63651 Bug ID: 63651 Summary: Lot of failures in obj(c|-c++) with yosemite Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr CC: howarth at bromo dot med.uc.edu, iains at gcc dot gnu.org Host: x86_64-apple-darwin14 Target: x86_64-apple-darwin14 Build: x86_64-apple-darwin14 I get a lot of failures in obj(c|-c++) with yosemite (4.9.2 and 5.0, see https://gcc.gnu.org/ml/gcc-testresults/2014-10/msg02799.html). AFAICT they are of the kind FAIL: objc.dg/headers.m -fnext-runtime (test for excess errors) Excess errors: /usr/include/objc/NSObject.h:22:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:36:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:38:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:60:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:62:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:63:4: error: unknown type name 'instancetype' /usr/include/objc/NSObject.h:64:4: error: unknown type name 'instancetype' /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:187:110: error: expected ')' before '^' token /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:187:112: error: expected ')' before '(' token /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:188:41: error: expected ')' before '^' token /System/Library/Frameworks/Foundation.framework/Headers/NSString.h:188:43: error: expected ')' before '(' token