bugGNUstep - Bugs: bug #33708, __has_feature implemented by...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33708: __has_feature implemented by clang/llvm is not present with normal GCC

Submitted by:  Tim Käck <tkack>
Submitted on:  Mon 04 Jul 2011 12:47:55 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Closed

Tue 05 Jul 2011 08:24:28 AM UTC, comment #1:

Thank you, I just submitted your patch.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Mon 04 Jul 2011 12:47:55 PM UTC, original submission:

Trying to compile GDL2 (r32793) exposes a problem with GNUstepBase/GNUstep.h (r27657):

#if GS_WITH_GC || __has_feature(objc_arc)

I assume this was implemented for CLang compatibility, but there needs to be a replacement macro be a preceding the test if llvm/clang is not used:

#ifndef __has_feature
#define __has_feature(x) 0
#endif

Tim Käck <tkack>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by tkack (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 01 Nov 2011 07:16:35 PM UTCFredKieferStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Tue 05 Jul 2011 08:24:28 AM UTCFredKieferStatusNone=>Ready For Test
      Assigned toNone=>FredKiefer
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1