bugGNUstep - Bugs: bug #27040, -gui doesn't compile on windows,...

Group
 
 

bug #27040: -gui doesn't compile on windows, INT_MAX undeclared

Submitter:  Riccardo Mottola <rmottola>
Submitted:  Thu 16 Jul 2009 09:34:59 AM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 20 Jul 2009 10:57:38 AM UTC, comment #1: 

Should be fixe din SVN please test.

Fred Kiefer <FredKiefer>
Group Member
Thu 16 Jul 2009 09:34:59 AM UTC, original submission:  

 Compiling file NSPrintOperation.m ...
NSPrintOperation.m: In function `-[NSPrintOperation(TrulyPrivate) _print]':
NSPrintOperation.m:992: error: `INT_MAX' undeclared (first use in this function)

NSPrintOperation.m:992: error: (Each undeclared identifier is reported only once

NSPrintOperation.m:992: error: for each function it appears in.)
make[3]: * [obj/NSPrintOperation.m.o] Error 1


Solution proposed:
#include <limits.h>

I don't know if limits.h is available on allplatforms as standard, but I guess those who have it should use it.

http://en.wikipedia.org/wiki/Limits.h

Riccardo Mottola <rmottola>
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 FredKiefer (Posted a comment)
  • -email is unavailable- added by rmottola (Submitted the item)
  •  

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-18 rmottola StatusReady For Test Fixed
        Open/ClosedIn Test Closed
    2009-07-20 FredKiefer Item GroupNone Bug
        StatusNone Ready For Test
        Assigned toNone FredKiefer
        Open/ClosedOpen In Test

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code