URL:
  <http://savannah.gnu.org/bugs/?33708>

                 Summary: __has_feature implemented by clang/llvm is not
present with normal GCC
                 Project: GNUstep
            Submitted by: tkack
            Submitted on: Mon 04 Jul 2011 02:47:55 PM CEST
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33708>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to