[CHiPPS-tickets] [COIN-OR High-Performance Parallel Search] #24: cleanup warnings

COIN-OR High-Performance Parallel Search coin-trac at coin-or.org
Mon Apr 19 12:21:38 EDT 2010


#24: cleanup warnings
--------------------+-------------------------------------------------------
Reporter:  mgalati  |       Owner:  yanxu
    Type:  defect   |      Status:  new  
Priority:  minor    |   Component:  ALPS 
 Version:           |    Keywords:       
--------------------+-------------------------------------------------------
 version 1.1.1
 {{{
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h: In member function
 'AlpsEncoded& AlpsEncoded::writeRep(std::string&)':
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h:282: warning: conversion
 to 'int' from 'long unsigned int' may alter its\
  value
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h:284: warning: conversion
 to 'int' from 'long unsigned int' may alter its\
  value
 In file included from /home/magh/COIN/coin-
 Dip/Alps/src/AlpsKnowledgeBroker.h:43,
                  from /home/magh/COIN/coin-
 Dip/Alps/src/AlpsKnowledgeBrokerSerial.h:28,
                  from ../../../Dip/src/AlpsDecompModel.cpp:20:
 /home/magh/COIN/coin-Dip/Alps/src/AlpsTime.h: In function 'double
 AlpsWallClock()':
 /home/magh/COIN/coin-Dip/Alps/src/AlpsTime.h:60: warning: conversion to
 'double' from '__time_t' may alter its value
 In file included from /home/magh/COIN/coin-
 Dip/Alps/src/AlpsKnowledge.h:31,
                  from /home/magh/COIN/coin-Dip/Alps/src/AlpsModel.h:30,
                  from ../../../Dip/src/AlpsDecompModel.h:22,
                  from ../../../Dip/src/AlpsDecompModel.cpp:17:
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h: In member function
 'AlpsEncoded& AlpsEncoded::writeRep(const T*, int) [\
 with T = bool]':
 /home/magh/COIN/coin-Dip/Alps/src/AlpsParams.h:342:   instantiated from
 here
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h:191: warning: conversion
 to 'int' from 'long unsigned int' may alter its\
  value
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h:193: warning: conversion
 to 'int' from 'long unsigned int' may alter its\
  value
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h:196: warning: conversion
 to 'int' from 'long unsigned int' may alter its\
  value
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h: In member function
 'AlpsEncoded& AlpsEncoded::writeRep(const T*, int) [\
 with T = int]':
 /home/magh/COIN/coin-Dip/Alps/src/AlpsParams.h:343:   instantiated from
 here
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h:191: warning: conversion
 to 'int' from 'long unsigned int' may alter its\
  value
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h:193: warning: conversion
 to 'int' from 'long unsigned int' may alter its\
  value
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h:196: warning: conversion
 to 'int' from 'long unsigned int' may alter its\
  value
 /home/magh/COIN/coin-Dip/Alps/src/AlpsEncoded.h: In member function
 'AlpsEncoded& AlpsEncoded::writeRep(const T*, int)
 ...

 }}}

-- 
Ticket URL: <https://projects.coin-or.org/CHiPPS/ticket/24>
COIN-OR High-Performance Parallel Search <http://projects.coin-or.org/CHiPPS>
A framework for data-intensive tree-search algorithms.



More information about the CHiPPS-tickets mailing list