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

 
 

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

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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Should be fixe din SVN please test.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
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>
Project 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)
  •  

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

    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.7