Opened 12 years ago

Closed 10 years ago

Last modified 9 years ago

#12 closed defect (fixed)

g++ compiler warnings stable 1.1

Reported by: mgalati Owned by: somebody
Priority: minor Component: component1
Version: Keywords: warnings
Cc: magh@…

Description

g++ linux compiler warnings

../../../Cbc/src/Cbc_C_Interface.cpp: In function `void Cbc_loadProblem(Cbc_Model*, int, int, const CoinBigIndex*, const int*, const double*, cons\
t double*, const double*, const double*, const double*, const double*)':
../../../Cbc/src/Cbc_C_Interface.cpp:288: warning: void format, Cbc_Model arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp:288: warning: void format, different type arg (arg 4)
../../../Cbc/src/Cbc_C_Interface.cpp:288: warning: void format, different type arg (arg 5)
../../../Cbc/src/Cbc_C_Interface.cpp:288: warning: void format, double arg (arg 6)
../../../Cbc/src/Cbc_C_Interface.cpp:290: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp:290: warning: void format, double arg (arg 4)
../../../Cbc/src/Cbc_C_Interface.cpp:290: warning: void format, double arg (arg 5)
../../../Cbc/src/Cbc_C_Interface.cpp:290: warning: void format, double arg (arg 6)
../../../Cbc/src/Cbc_C_Interface.cpp:290: warning: void format, double arg (arg 7)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `double* Cbc_primalRowSolution(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:967: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `double* Cbc_primalColumnSolution(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:984: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `double* Cbc_dualRowSolution(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1001: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `double* Cbc_dualColumnSolution(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1018: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `double* Cbc_rowLower(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1035: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `double* Cbc_rowUpper(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1052: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `double* Cbc_objective(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1069: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `double* Cbc_columnLower(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1086: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `double* Cbc_columnUpper(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1103: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const int* Cbc_getIndices(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1141: warning: void format, different type arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const int* Cbc_getVectorLengths(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1158: warning: void format, different type arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const double* Cbc_getElements(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1175: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `double* Cbc_infeasibilityRay(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1210: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `double* Cbc_unboundedRay(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1227: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const double* Cbc_getRowActivity(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1959: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const double* Cbc_getColSolution(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:1973: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const double* Cbc_getRowPrice(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:2000: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const double* Cbc_getReducedCost(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:2014: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const double* Cbc_getRowLower(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:2028: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const double* Cbc_getRowUpper(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:2042: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const double* Cbc_getObjCoefficients(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const double* Cbc_getObjCoefficients(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:2056: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const double* Cbc_getColLower(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:2070: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `const double* Cbc_getColUpper(Cbc_Model*)':
../../../Cbc/src/Cbc_C_Interface.cpp:2084: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp: In function `void Cbc_printModel(Cbc_Model*, const char*)':
../../../Cbc/src/Cbc_C_Interface.cpp:2126: warning: void format, Cbc_Model arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp:2126: warning: void format, different type arg (arg 4)
../../../Cbc/src/Cbc_C_Interface.cpp:2126: warning: void format, different type arg (arg 5)
../../../Cbc/src/Cbc_C_Interface.cpp:2126: warning: void format, double arg (arg 6)
../../../Cbc/src/Cbc_C_Interface.cpp:2138: warning: void format, double arg (arg 3)
../../../Cbc/src/Cbc_C_Interface.cpp:2138: warning: void format, double arg (arg 4)
../../../Cbc/src/Cbc_C_Interface.cpp:2138: warning: void format, double arg (arg 5)
../../../Cbc/src/Cbc_C_Interface.cpp:2138: warning: void format, double arg (arg 6)
../../../Cbc/src/Cbc_C_Interface.cpp:2138: warning: void format, double arg (arg 7)
../../../Cbc/src/CbcHeuristicFPump.cpp: In member function `virtual int CbcHeuristicFPump::solution(double&, double*)':
../../../Cbc/src/CbcHeuristicFPump.cpp:296: warning: ISO C++ does not support the `%lf' printf format

Change History (2)

comment:1 Changed 10 years ago by forrest

  • Resolution set to fixed
  • Status changed from new to closed

Latest version seems ok

comment:2 Changed 9 years ago by tkr

  • milestone milestone1 deleted

Milestone milestone1 deleted

Note: See TracTickets for help on using tickets.