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

Group
 
 

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

Submitter:  Tim Käck <tkack>
Submitted:  Mon 04 Jul 2011 12:47:55 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Thank you, I just submitted your patch.

Fred Kiefer <FredKiefer>
Group Member
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-11-01 FredKiefer StatusReady For Test Fixed
        Open/ClosedIn Test Closed
    2011-07-05 FredKiefer StatusNone Ready For Test
        Assigned toNone FredKiefer
        Open/ClosedOpen In Test

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code