octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #39715] INT_MAX not declared in __glpk__.cc


From: anonymous
Subject: [Octave-bug-tracker] [bug #39715] INT_MAX not declared in __glpk__.cc
Date: Wed, 07 Aug 2013 08:10:09 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0

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

                 Summary: INT_MAX not declared in __glpk__.cc
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 07 Aug 2013 08:10:08 AM UTC
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Gedeone
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

hi, I've found the following error while compiling

../../libinterp/dldfcn/__glpk__.cc: In function 'octave_value_list
F__glpk__(const octave_value_list&, int)':
../../libinterp/dldfcn/__glpk__.cc:619:15: error: 'INT_MAX' was not declared
in this scope make[3]: *** [dldfcn/dldfcn___glpk___la-__glpk__.lo] Error 1
make[3]: Leaving directory `/home/ted/octave/.build/libinterp' make[2]: ***
[all] Error 2 make[2]: Leaving directory `/home/ted/octave/.build/libinterp'
make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
`/home/ted/octave/.build' make: *** [all] Error 2


I think that it should be enough to add the following line to solve the
problem:

#include <climits>

By,

Marco





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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