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

 
 

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

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/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Closed

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

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by rmottola (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 18 Sep 2009 08:17:41 PM UTCrmottolaStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Mon 20 Jul 2009 10:57:38 AM UTCFredKieferItem GroupNone=>Bug
      StatusNone=>Ready For Test
      Assigned toNone=>FredKiefer
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1