bugGNUstep - Bugs: bug #21526, GNUstepBase (Foundations...

Group
 
 

bug #21526: GNUstepBase (Foundations Additions) doesn't compile on Leopard

Submitter:  Quentin Mathé <qmathe>
Submitted:  Tue 06 Nov 2007 02:52:10 PM UTC
Votes: 1
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 20 Feb 2008 08:03:08 AM UTC, comment #2: 

Added minor fixes to get this to build under leopard ... though not without warnings.

Richard Frith-Macdonald <CaS>
Group Member
Mon 19 Nov 2007 05:13:44 AM UTC, comment #1: 

I was able to get compilation to continue just by commenting out the line that includes NSUtilities.h. It seems that whatever was needed from NSUtilities is covered by the other include statements (likely just NSString).


Index: Source/Additions/GSInsensitiveDictionary.m
===================================================================
--- Source/Additions/GSInsensitiveDictionary.m        (revision 25594)
+++ Source/Additions/GSInsensitiveDictionary.m        (working copy)
@@ -26,7 +26,6 @@
 #include "config.h"
 #include "Foundation/NSDictionary.h"
 #include "Foundation/NSAutoreleasePool.h"
-#include "Foundation/NSUtilities.h"
 #include "Foundation/NSString.h"
 #include "Foundation/NSException.h"
 #include "Foundation/NSPortCoder.h"


However, I'm getting a new error elsewhere after this:


Unicode.m:210: error: ‘NSProprietaryStringEncoding’ undeclared here (not in a function)


It seems that NSProprietaryStringEncoding has been deprecated beginning with 10.5. It's still available, but MAC_OS_X_VERSION_MIN_REQUIRED has to be set to something strictly less than MAC_OS_X_VERSION_10_5. (See NSString.h:370 in MacOSX10.5.sdk)

Trevor Johns <tjohns>
Tue 06 Nov 2007 02:52:10 PM UTC, original submission:  

library-combo=apple-apple-apple

GNUstepBase additions fails on Mac 10.5 because NSUtilities.h previously deprecated has been now removed in Leopard.

Compiling file GSInsensitiveDictionary.m ...
GSInsensitiveDictionary.m:29:36: error: Foundation/NSUtilities.h: No such file or directory

See Foundation 10.5 release notes <http://developer.apple.com/releasenotes/Cocoa/Foundation.html> and looks for "Removed headers" in the text.

Additionally the compilation triggers many warnings because previous NeXT objc runtime API has been almost fully deprecated and replaced by a new one.

Quentin.

Quentin Mathé <qmathe>
Group Member

 

(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 CaS (Posted a comment)
  • -email is unavailable- added by tjohns (Posted a comment)
  • -email is unavailable- added by tjohns
  • -email is unavailable- added by qmathe (Submitted the item)
  •  

    There is 1 vote 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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-02-20 CaS StatusNone Fixed
        Open/ClosedOpen Closed
    2007-11-19 tjohns Carbon-Copy- Added tjohns

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code