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

                 Summary: Error when building with ObjC++
                 Project: GNUstep
            Submitted by: gcasa
            Submitted on: Sun 24 Jun 2012 07:57:26 PM EDT
                Category: Makefiles
                Severity: 5 - Blocker
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The Berkelium.mm file has only the #include for Foundation.h and a skeletal
definition for the class.  I am getting the following error which doesn't
happen when I compile the very same class as ObjC:

g++ Berkelium.mm -c \
              -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions
-fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN
-DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime
-fconstant-string-class=NSConstantString -I./derived_src -I.
-I/home/heron/GNUstep/Library/Headers -I/usr/GNUstep/Local/Library/Headers
-I/usr/GNUstep/System/Library/Headers \
               -o obj/Berkelium.obj/Berkelium.mm.o
In file included from
/usr/GNUstep/System/Library/Headers/Foundation/NSObject.h:30,
                 from
/usr/GNUstep/System/Library/Headers/Foundation/FoundationErrors.h:29,
                 from
/usr/GNUstep/System/Library/Headers/Foundation/Foundation.h:33,
                 from Berkelium.h:28,
                 from Berkelium.mm:25:
/usr/GNUstep/System/Library/Headers/Foundation/NSObjCRuntime.h:154: error:
‘INTPTR_MAX’ was not declared in this scope
make[2]: *** [obj/Berkelium.obj/Berkelium.mm.o] Error 1
make[1]: *** [internal-framework-run-compile-submake] Error 2
make: *** [Berkelium.all.framework.variables] Error 2
heron@glados-vm-linux:~/Development/gap/libs/Berkelium$ 




    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to