bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Riccardo mottola
Subject: [bug #27040] -gui doesn't compile on windows, INT_MAX undeclared
Date: Thu, 16 Jul 2009 09:35:01 +0000
User-agent: Opera/9.64 (Windows NT 5.1; U; en) Presto/2.1.1

URL:
  <http://savannah.gnu.org/bugs/?27040>

                 Summary: -gui doesn't compile on windows, INT_MAX undeclared
                 Project: GNUstep
            Submitted by: rmottola
            Submitted on: gio 16 lug 2009 09:34:59 GMT
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

 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




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27040>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]