bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #36721] Error when building with ObjC++


From: Gregory John Casamento
Subject: [bug #36721] Error when building with ObjC++
Date: Sun, 24 Jun 2012 23:57:27 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5

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
address@hidden:~/Development/gap/libs/Berkelium$ 




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]