ComputationalRadiationPhysics / isaac

In Situ Animation of Accelerated Computations :microscope:
http://ComputationalRadiationPhysics.github.io/isaac/
GNU Lesser General Public License v3.0
25 stars 15 forks source link

Build Warnings Server with GCC 5.4 #62

Closed theZiz closed 7 years ago

theZiz commented 7 years ago

latest release: (1.3.1)

src/isaac/server/src/InsituConnectorMaster.cpp: In member function 'virtual errorCode InsituConnectorMaster::run()':
rc/isaac/server/src/InsituConnectorMaster.cpp:154:179: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
 ismatch: Library has %i.%i, server needs %i.%i!\n",version[0],version[1],ISAAC_PROTOCOL_VERSION_MAJOR,ISAAC_PROTOCOL_VERSION_MINOR);
                                                                                                                                   ^
src/isaac/server/src/InsituConnectorMaster.cpp:154:179: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
src/isaac/server/src/InsituConnectorMaster.cpp:161:179: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  mismatch: Library has %i.%i, server can %i.%i!\n",version[0],version[1],ISAAC_PROTOCOL_VERSION_MAJOR,ISAAC_PROTOCOL_VERSION_MINOR);
                                                                                                                                   ^
src/isaac/server/src/InsituConnectorMaster.cpp:161:179: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
theZiz commented 7 years ago

Fixed: https://github.com/ComputationalRadiationPhysics/isaac/commit/b44264c62d737d8e0439645e7f9edc4d591f033f