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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #13028: Problem compiling on Solaris 9.

Submitted by:  Gregory John Casamento <gcasa>
Submitted on:  Sun 08 May 2005 05:44:40 PM UTC  
 
Category: Base/FoundationSeverity: 5 - Blocker
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

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>
Project 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>
Project 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 19 May 2005 11:58:44 AM UTCFredKieferCategoryGui/AppKit=>Base/Foundation
  Item GroupInstallation=>Bug
  Open/ClosedOpen=>Closed
Sun 08 May 2005 06:20:12 PM UTCgcasaStatusNone=>Fixed
  Assigned toNone=>gcasa

Back to the top


Powered by Savane 3.1-cleanup1