bugGNUstep - Bugs: bug #13028, Problem compiling on Solaris 9.

Group
 
 

bug #13028: Problem compiling on Solaris 9.

Submitter:  Gregory John Casamento <gcasa>
Submitted:  Sun 08 May 2005 05:44:40 PM UTC
   
 
Category:  Base/Foundation Severity:  5 - Blocker
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 19 May 2005 11:58:44 AM UTC, comment #3: 

Corrected the category and marked as closed.
Thank you David for the better idea on how to fix it.

Fred Kiefer <FredKiefer>
Group Member
Mon 09 May 2005 07:26:26 AM UTC, comment #2: 

Hello Gregory,

The C-Standard requires UINT_MAX to be definied in <limits.h>.  The proper (portable) fix should be to inlcude that header.

If for some reason UINT_MAX still isn't defined, someone needs to check the Solaris C Library documentation if there are some -D flags (similar to _GNU_SOURCE or _ISOC99_SOURCE) that need to be defined before including the file (I'd suggest in the makefile) to make it visible.

Cheers,
David

David Ayers <ayers>
Group Member
Sun 08 May 2005 06:20:12 PM UTC, comment #1: 

I have fixed this so that compilation works properly.

As an additional not on this bug, I would like to find out why, when index_size is 4, the table_size is set to 2^32.  If it ever gets to this point, it will attempt to allocate 4GB of space.  

GJC

Gregory John Casamento <gcasa>
Group administrator
Sun 08 May 2005 05:44:40 PM UTC, original submission:  

NSPropertyList.m: In function `-[BinaryPLGenerator setup]':
NSPropertyList.m:3058: error: `UINT_MAX' undeclared (first use in this function)
NSPropertyList.m:3058: error: (Each undeclared identifier is reported only once
NSPropertyList.m:3058: error: for each function it appears in.)
NSPropertyList.m: In function `-[BinaryPLGenerator writeObjectTable]':
NSPropertyList.m:3143: error: `UINT_MAX' undeclared (first use in this function)
NSPropertyList.m: In function `-[BinaryPLGenerator storeNumber:]':
NSPropertyList.m:3452: error: `UINT_MAX' undeclared (first use in this function)
NSPropertyList.m: At top level:

Gregory John Casamento <gcasa>
Group administrator

 

(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

 

CC list is empty

 

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
2005-05-19 FredKiefer CategoryGui/AppKit Base/Foundation
    Item GroupInstallation Bug
    Open/ClosedOpen Closed
2005-05-08 gcasa StatusNone Fixed
    Assigned toNone gcasa

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code