Project

General

Profile

Bug #498

Compiler warnings

Added by Rogers, Chris over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
common_py
Target version:
Start date:
02 June 2011
Due date:
% Done:

100%

Estimated time:
Workflow:
Closed

Description

src/legacy/Interface/Mesh.hh: In member function 'void TwoDGrid::xLowerBound(const double&, int&) const':
src/legacy/Interface/Mesh.hh:200: warning: converting to 'int' from 'double'
src/legacy/Interface/Mesh.hh: In member function 'void TwoDGrid::yLowerBound(const double&, int&) const':
src/legacy/Interface/Mesh.hh:202: warning: converting to 'int' from 'double'
src/legacy/Interface/Mesh.hh: In member function 'void ThreeDGrid::xLowerBound(const double&, int&) const':
src/legacy/Interface/Mesh.hh:312: warning: converting to 'int' from 'double'
src/legacy/Interface/Mesh.hh: In member function 'void ThreeDGrid::yLowerBound(const double&, int&) const':
src/legacy/Interface/Mesh.hh:314: warning: converting to 'int' from 'double'
src/legacy/Interface/Mesh.hh: In member function 'void ThreeDGrid::zLowerBound(const double&, int&) const':
src/legacy/Interface/Mesh.hh:316: warning: converting to 'int' from 'double'
src/legacy/Interface/Mesh.hh: In member function 'void NDGrid::coordLowerBound(const double&, const int&, int&) const':
src/legacy/Interface/Mesh.hh:413: warning: converting to 'int' from 'double'


Related issues

Has duplicate MAUS - Bug #349: Warning in Mesh compileClosedRogers, Chris28 February 2011

Actions
Has duplicate MAUS - Feature #920: Clean up Mesh.hh ClosedRogers, Chris28 February 2012

Actions
#1

Updated by Tunnell, Christopher over 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

this looks done.

#2

Updated by Tunnell, Christopher over 10 years ago

  • Status changed from Closed to Open
  • Assignee deleted (Rogers, Chris)
  • % Done changed from 100 to 0

using:

pplxint6:maus-verguilov$ gcc v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable
__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)

src/legacy/Interface/Mesh.hh: In member function 'void TwoDGrid::xLowerBound(const double&, int&) const':
src/legacy/Interface/Mesh.hh:200: warning: converting to 'int' from 'double'
src/legacy/Interface/Mesh.hh: In member function 'void TwoDGrid::yLowerBound(const double&, int&) const':
src/legacy/Interface/Mesh.hh:202: warning: converting to 'int' from 'double'
src/legacy/Interface/Mesh.hh: In member function 'void ThreeDGrid::xLowerBound(const double&, int&) const':
src/legacy/Interface/Mesh.hh:312: warning: converting to 'int' from 'double'
src/legacy/Interface/Mesh.hh: In member function 'void ThreeDGrid::yLowerBound(const double&, int&) const':
src/legacy/Interface/Mesh.hh:314: warning: converting to 'int' from 'double'
src/legacy/Interface/Mesh.hh: In member function 'void ThreeDGrid::zLowerBound(const double&, int&) const':
src/legacy/Interface/Mesh.hh:316: warning: converting to 'int' from 'double'
src/legacy/Interface/Mesh.hh: In member function 'void NDGrid::coordLowerBound(const double&, const int&, int&) const':
src/legacy/Interface/Mesh.hh:413: warning: converting to 'int' from 'double'
#3

Updated by Tunnell, Christopher over 10 years ago

Chris Heidt: what version of the gcc compiler are you using? Tell us by:

gcc -v

#4

Updated by Rogers, Chris over 9 years ago

  • Status changed from Open to Closed
  • Assignee set to Rogers, Chris
  • % Done changed from 0 to 100
  • Workflow set to Closed

Fixed in 0.2.0

#5

Updated by Rogers, Chris over 9 years ago

  • Target version changed from Future MAUS release to MAUS-v0.2.0

Also available in: Atom PDF