Changeset 354


Ignore:
Timestamp:
Jun 5, 2010 10:18:11 AM (10 years ago)
Author:
pbelotti
Message:

fixed some compile-time errors on gcc 4.4.4 (missing #includes)

Location:
stable/0.1/Couenne
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • stable/0.1/Couenne

  • stable/0.1/Couenne/acinclude.m4

    r134 r354  
    64006400# This file is distributed under the Common Public License.
    64016401#
    6402 ## $Id: coin.m4 1272 2009-04-24 16:33:02Z andreasw $
     6402## $Id: coin.m4 1331 2009-07-16 16:00:50Z andreasw $
    64036403#
    64046404# Author: Andreas Wachter    IBM      2006-04-14
     
    66916691AC_SUBST(ADDLIBS)
    66926692
     6693# As backup, we make sure we don't loose an FLIBS if it has been set
     6694# by the user
     6695save_FLIBS="$FLIBS"
     6696
    66936697# Initialize the FADDLIBS variable (which is to be used with a fortran
    66946698# compiler and will not include FLIBS)
     
    77567760AC_LANG_PUSH([Fortran 77])
    77577761
    7758 save_FLIBS="$FLIBS"
    7759 
    77607762AC_F77_WRAPPERS
    77617763
     7764# If FLIBS has been set by the user, we just restore its value here
    77627765if test x"$save_FLIBS" != x; then
    77637766  FLIBS="$save_FLIBS"
     
    77697772      case $flag in
    77707773        -lcrt*.o) ;;
     7774        -lcygwin) ;;
    77717775               *) my_flibs="$my_flibs $flag" ;;
    77727776      esac
     
    97169720    m4_tolower(coin_has_$1)=true
    97179721    m4_tolower($1_libcheck)=no
     9722    m4_toupper($1OBJDIR)=`cd $coin_glpkobjdir; pwd`
     9723    AC_SUBST(m4_toupper($1OBJDIR))
    97189724    AC_MSG_NOTICE([Using $1 in ThirdParty/Glpk])
    97199725  fi
  • stable/0.1/Couenne/configure

    r74 r354  
    16731673
    16741674
     1675# As backup, we make sure we don't loose an FLIBS if it has been set
     1676# by the user
     1677save_FLIBS="$FLIBS"
     1678
    16751679# Initialize the FADDLIBS variable (which is to be used with a fortran
    16761680# compiler and will not include FLIBS)
     
    68516855*-*-irix6*)
    68526856  # Find out which ABI we are using.
    6853   echo '#line 6853 "configure"' > conftest.$ac_ext
     6857  echo '#line 6857 "configure"' > conftest.$ac_ext
    68546858  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    68556859  (eval $ac_compile) 2>&5
     
    79857989
    79867990# Provide some information about the compiler.
    7987 echo "$as_me:7987:" \
     7991echo "$as_me:7991:" \
    79887992     "checking for Fortran 77 compiler version" >&5
    79897993ac_compiler=`set X $ac_compile; echo $2`
     
    90529056   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    90539057   -e 's:$: $lt_compiler_flag:'`
    9054    (eval echo "\"\$as_me:9054: $lt_compile\"" >&5)
     9058   (eval echo "\"\$as_me:9058: $lt_compile\"" >&5)
    90559059   (eval "$lt_compile" 2>conftest.err)
    90569060   ac_status=$?
    90579061   cat conftest.err >&5
    9058    echo "$as_me:9058: \$? = $ac_status" >&5
     9062   echo "$as_me:9062: \$? = $ac_status" >&5
    90599063   if (exit $ac_status) && test -s "$ac_outfile"; then
    90609064     # The compiler can only warn and ignore the option if not recognized
     
    93209324   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93219325   -e 's:$: $lt_compiler_flag:'`
    9322    (eval echo "\"\$as_me:9322: $lt_compile\"" >&5)
     9326   (eval echo "\"\$as_me:9326: $lt_compile\"" >&5)
    93239327   (eval "$lt_compile" 2>conftest.err)
    93249328   ac_status=$?
    93259329   cat conftest.err >&5
    9326    echo "$as_me:9326: \$? = $ac_status" >&5
     9330   echo "$as_me:9330: \$? = $ac_status" >&5
    93279331   if (exit $ac_status) && test -s "$ac_outfile"; then
    93289332     # The compiler can only warn and ignore the option if not recognized
     
    94249428   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    94259429   -e 's:$: $lt_compiler_flag:'`
    9426    (eval echo "\"\$as_me:9426: $lt_compile\"" >&5)
     9430   (eval echo "\"\$as_me:9430: $lt_compile\"" >&5)
    94279431   (eval "$lt_compile" 2>out/conftest.err)
    94289432   ac_status=$?
    94299433   cat out/conftest.err >&5
    9430    echo "$as_me:9430: \$? = $ac_status" >&5
     9434   echo "$as_me:9434: \$? = $ac_status" >&5
    94319435   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    94329436   then
     
    1176911773  lt_status=$lt_dlunknown
    1177011774  cat > conftest.$ac_ext <<EOF
    11771 #line 11771 "configure"
     11775#line 11775 "configure"
    1177211776#include "confdefs.h"
    1177311777
     
    1186911873  lt_status=$lt_dlunknown
    1187011874  cat > conftest.$ac_ext <<EOF
    11871 #line 11871 "configure"
     11875#line 11875 "configure"
    1187211876#include "confdefs.h"
    1187311877
     
    1421314217   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1421414218   -e 's:$: $lt_compiler_flag:'`
    14215    (eval echo "\"\$as_me:14215: $lt_compile\"" >&5)
     14219   (eval echo "\"\$as_me:14219: $lt_compile\"" >&5)
    1421614220   (eval "$lt_compile" 2>conftest.err)
    1421714221   ac_status=$?
    1421814222   cat conftest.err >&5
    14219    echo "$as_me:14219: \$? = $ac_status" >&5
     14223   echo "$as_me:14223: \$? = $ac_status" >&5
    1422014224   if (exit $ac_status) && test -s "$ac_outfile"; then
    1422114225     # The compiler can only warn and ignore the option if not recognized
     
    1431714321   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1431814322   -e 's:$: $lt_compiler_flag:'`
    14319    (eval echo "\"\$as_me:14319: $lt_compile\"" >&5)
     14323   (eval echo "\"\$as_me:14323: $lt_compile\"" >&5)
    1432014324   (eval "$lt_compile" 2>out/conftest.err)
    1432114325   ac_status=$?
    1432214326   cat out/conftest.err >&5
    14323    echo "$as_me:14323: \$? = $ac_status" >&5
     14327   echo "$as_me:14327: \$? = $ac_status" >&5
    1432414328   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1432514329   then
     
    1588715891   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1588815892   -e 's:$: $lt_compiler_flag:'`
    15889    (eval echo "\"\$as_me:15889: $lt_compile\"" >&5)
     15893   (eval echo "\"\$as_me:15893: $lt_compile\"" >&5)
    1589015894   (eval "$lt_compile" 2>conftest.err)
    1589115895   ac_status=$?
    1589215896   cat conftest.err >&5
    15893    echo "$as_me:15893: \$? = $ac_status" >&5
     15897   echo "$as_me:15897: \$? = $ac_status" >&5
    1589415898   if (exit $ac_status) && test -s "$ac_outfile"; then
    1589515899     # The compiler can only warn and ignore the option if not recognized
     
    1599115995   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1599215996   -e 's:$: $lt_compiler_flag:'`
    15993    (eval echo "\"\$as_me:15993: $lt_compile\"" >&5)
     15997   (eval echo "\"\$as_me:15997: $lt_compile\"" >&5)
    1599415998   (eval "$lt_compile" 2>out/conftest.err)
    1599515999   ac_status=$?
    1599616000   cat out/conftest.err >&5
    15997    echo "$as_me:15997: \$? = $ac_status" >&5
     16001   echo "$as_me:16001: \$? = $ac_status" >&5
    1599816002   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1599916003   then
     
    1819818202   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1819918203   -e 's:$: $lt_compiler_flag:'`
    18200    (eval echo "\"\$as_me:18200: $lt_compile\"" >&5)
     18204   (eval echo "\"\$as_me:18204: $lt_compile\"" >&5)
    1820118205   (eval "$lt_compile" 2>conftest.err)
    1820218206   ac_status=$?
    1820318207   cat conftest.err >&5
    18204    echo "$as_me:18204: \$? = $ac_status" >&5
     18208   echo "$as_me:18208: \$? = $ac_status" >&5
    1820518209   if (exit $ac_status) && test -s "$ac_outfile"; then
    1820618210     # The compiler can only warn and ignore the option if not recognized
     
    1846618470   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1846718471   -e 's:$: $lt_compiler_flag:'`
    18468    (eval echo "\"\$as_me:18468: $lt_compile\"" >&5)
     18472   (eval echo "\"\$as_me:18472: $lt_compile\"" >&5)
    1846918473   (eval "$lt_compile" 2>conftest.err)
    1847018474   ac_status=$?
    1847118475   cat conftest.err >&5
    18472    echo "$as_me:18472: \$? = $ac_status" >&5
     18476   echo "$as_me:18476: \$? = $ac_status" >&5
    1847318477   if (exit $ac_status) && test -s "$ac_outfile"; then
    1847418478     # The compiler can only warn and ignore the option if not recognized
     
    1857018574   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1857118575   -e 's:$: $lt_compiler_flag:'`
    18572    (eval echo "\"\$as_me:18572: $lt_compile\"" >&5)
     18576   (eval echo "\"\$as_me:18576: $lt_compile\"" >&5)
    1857318577   (eval "$lt_compile" 2>out/conftest.err)
    1857418578   ac_status=$?
    1857518579   cat out/conftest.err >&5
    18576    echo "$as_me:18576: \$? = $ac_status" >&5
     18580   echo "$as_me:18580: \$? = $ac_status" >&5
    1857718581   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1857818582   then
  • stable/0.1/Couenne/src/expression/exprOp.cpp

    r1 r354  
    77 * This file is licensed under the Common Public License (CPL)
    88 */
     9
     10#include <stdio.h>
    911
    1012#include "expression.hpp"
  • stable/0.1/Couenne/src/problem/constraint.cpp

    r1 r354  
    77 * This file is licensed under the Common Public License (CPL)
    88 */
     9
     10#include <stdio.h>
    911
    1012#include "CouenneTypes.hpp"
  • stable/0.1/Couenne/src/problem/depGraph/depGraph.cpp

    r1 r354  
    88 */
    99
     10#include <stdio.h>
    1011#include <cstdlib>
     12
    1113#include "depGraph.hpp"
    1214
  • stable/0.1/Couenne/src/readnl/readnl.cpp

    r152 r354  
    77 * This file is licensed under the Common Public License (CPL)
    88 */
     9
     10#include <stdint.h>
    911
    1012#include "CouenneProblem.hpp"
Note: See TracChangeset for help on using the changeset viewer.