Skip to content

Instantly share code, notes, and snippets.

@erik
Created February 12, 2011 04:59
Show Gist options
  • Save erik/823535 to your computer and use it in GitHub Desktop.
Save erik/823535 to your computer and use it in GitHub Desktop.
In file included from Box2D/Box2D/Box2D/Collision/Shapes/b2Shape.h:23,
from Box2D/Box2D/Box2D/Collision/Shapes/b2CircleShape.h:22,
from Box2D/Box2D/Box2D/Box2D.h:36,
from include/world.hpp:5,
from include/scene.hpp:4,
from src/scene.cpp:1:
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool b2IsValid(float32)’:
Box2D/Box2D/Box2D/Common/b2Math.h:33: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Mat22 b2Mat22::GetInverse() const’:
Box2D/Box2D/Box2D/Common/b2Math.h:264: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Vec2 b2Mat22::Solve(const b2Vec2&) const’:
Box2D/Box2D/Box2D/Common/b2Math.h:279: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool operator==(const b2Vec2&, const b2Vec2&)’:
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Collision/b2BroadPhase.h:24,
from Box2D/Box2D/Box2D/Box2D.h:39,
from include/world.hpp:5,
from include/scene.hpp:4,
from src/scene.cpp:1:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h: In member function ‘void b2DynamicTree::RayCast(T*, const b2RayCastInput&) const’:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h:256: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Box2D.h:44,
from include/world.hpp:5,
from include/scene.hpp:4,
from src/scene.cpp:1:
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetBullet(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:590: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetAwake(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:611: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetFixedRotation(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:638: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetSleepingAllowed(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:657: warning: conversion to ‘uint16’ from ‘int’ may alter its value
src/scene.cpp: In member function ‘virtual void MenuScene::Step()’:
src/scene.cpp:26: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp:26: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp:26: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp: In member function ‘virtual void GameScene::Init(Context*)’:
src/scene.cpp:76: warning: conversion to ‘int’ from ‘float’ may alter its value
src/scene.cpp: In member function ‘virtual void GameScene::Step()’:
src/scene.cpp:115: warning: conversion to ‘float’ from ‘int’ may alter its value
src/scene.cpp: In member function ‘virtual void GameScene::Render()’:
src/scene.cpp:152: warning: conversion to ‘int’ from ‘float’ may alter its value
src/scene.cpp:155: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp:155: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp:155: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp:155: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp:155: warning: conversion to ‘float’ from ‘int’ may alter its value
src/scene.cpp:155: warning: conversion to ‘float’ from ‘int’ may alter its value
src/scene.cpp:187: warning: conversion to ‘long int’ from ‘float’ may alter its value
src/scene.cpp:187: warning: conversion to ‘int’ from ‘long int’ may alter its value
src/scene.cpp:195: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp:195: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp:195: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp: In member function ‘virtual void GameScene::HandleInput(const sf::Input&)’:
src/scene.cpp:234: warning: comparing floating point with == or != is unsafe
src/scene.cpp: In member function ‘void GameScene::GenerateShape()’:
src/scene.cpp:259: warning: conversion to ‘float’ from ‘int’ may alter its value
src/scene.cpp:260: warning: conversion to ‘float’ from ‘int’ may alter its value
src/scene.cpp:261: warning: conversion to ‘float’ from ‘int’ may alter its value
src/scene.cpp: In member function ‘void GameScene::DropShape()’:
src/scene.cpp:265: warning: conversion to ‘int’ from ‘float’ may alter its value
src/scene.cpp:265: warning: conversion to ‘int’ from ‘float’ may alter its value
src/scene.cpp:265: warning: conversion to ‘int’ from ‘float’ may alter its value
src/scene.cpp:269: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp:269: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
src/scene.cpp:269: warning: conversion to ‘sf::Uint8’ from ‘int’ may alter its value
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:68: warning: will never be executed
/usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
/usr/include/c++/4.4/new:101: warning: will never be executed
include/world.hpp: In copy constructor ‘WorldShape::WorldShape(const WorldShape&)’:
include/world.hpp:43: warning: will never be executed
Box2D/Box2D/Box2D/Collision/Shapes/b2PolygonShape.h: In copy constructor ‘b2PolygonShape::b2PolygonShape(const b2PolygonShape&)’:
Box2D/Box2D/Box2D/Collision/Shapes/b2PolygonShape.h:27: warning: will never be executed
/usr/include/c++/4.4/new: In function ‘void operator delete(void*, void*)’:
/usr/include/c++/4.4/new:105: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = WorldShape]’:
/usr/include/c++/4.4/ext/new_allocator.h:98: warning: will never be executed
/usr/include/c++/4.4/sstream: In constructor ‘std::basic_ostringstream<_CharT, _Traits, _Alloc>::basic_ostringstream(std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.4/sstream:403: warning: will never be executed
/usr/include/c++/4.4/sstream:403: warning: will never be executed
/usr/include/c++/4.4/sstream:403: warning: will never be executed
/usr/include/c++/4.4/sstream:403: warning: will never be executed
/usr/include/c++/4.4/sstream:404: warning: will never be executed
/usr/include/c++/4.4/sstream:404: warning: will never be executed
/usr/include/c++/4.4/bits/basic_ios.h: In constructor ‘std::basic_ios<_CharT, _Traits>::basic_ios() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.4/bits/basic_ios.h:453: warning: will never be executed
/usr/include/c++/4.4/ostream: In constructor ‘std::basic_ostream<_CharT, _Traits>::basic_ostream() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.4/ostream:362: warning: will never be executed
/usr/include/c++/4.4/ostream:362: warning: will never be executed
/usr/include/c++/4.4/ostream:362: warning: will never be executed
/usr/include/c++/4.4/ostream:362: warning: will never be executed
/usr/include/c++/4.4/ostream:362: warning: will never be executed
/usr/include/c++/4.4/ostream:362: warning: will never be executed
/usr/include/c++/4.4/sstream: In constructor ‘std::basic_stringbuf<_CharT, _Traits, _Alloc>::basic_stringbuf(std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.4/sstream:94: warning: will never be executed
/usr/include/c++/4.4/streambuf: In constructor ‘std::basic_streambuf<_CharT, _Traits>::basic_streambuf() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.4/streambuf:443: warning: will never be executed
/usr/include/c++/4.4/bits/basic_string.h: In constructor ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.4/bits/basic_string.h:2147: warning: will never be executed
/usr/include/c++/4.4/bits/basic_string.h: In member function ‘_CharT* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_refdata() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.4/bits/basic_string.h:214: warning: will never be executed
/usr/include/c++/4.4/bits/basic_string.h: In constructor ‘std::basic_string<_CharT, _Traits, _Alloc>::_Alloc_hider::_Alloc_hider(_CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.4/bits/basic_string.h:260: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ostream: In destructor ‘std::basic_ostream<_CharT, _Traits>::~basic_ostream() [with _CharT = char, _Traits = std::char_traits<char>]’:
/usr/include/c++/4.4/ostream:91: warning: will never be executed
/usr/include/c++/4.4/ostream:91: warning: will never be executed
/usr/include/c++/4.4/ostream:91: warning: will never be executed
/usr/include/c++/4.4/bits/basic_string.tcc: In constructor ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = char*, _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.4/bits/basic_string.tcc:231: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = unsigned int]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = unsigned int]’:
/usr/include/c++/4.4/ext/new_allocator.h:68: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Tp1>&) [with _Tp1 = unsigned int, _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:107: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = unsigned int]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Tp1>&) [with _Tp1 = std::_Rb_tree_node<sf::ResourcePtr<sf::Font>*>, _Tp = sf::ResourcePtr<sf::Font>*]’:
/usr/include/c++/4.4/bits/allocator.h:107: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = sf::ResourcePtr<sf::Font>*]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = sf::ResourcePtr<sf::Font>*]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/sstream: In destructor ‘std::basic_ostringstream<_CharT, _Traits, _Alloc>::~basic_ostringstream() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.4/sstream:432: warning: will never be executed
/usr/include/c++/4.4/sstream:432: warning: will never be executed
/usr/include/c++/4.4/sstream:432: warning: will never be executed
/usr/include/c++/4.4/sstream:432: warning: will never be executed
/usr/include/c++/4.4/sstream:432: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = sf::Shape::Point]’:
/usr/include/c++/4.4/ext/new_allocator.h:98: warning: will never be executed
/usr/include/c++/4.4/bits/stl_uninitialized.h: In static member function ‘static _ForwardIterator std::__uninitialized_copy<<anonymous> >::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const sf::Shape::Point*, std::vector<sf::Shape::Point, std::allocator<sf::Shape::Point> > >, _ForwardIterator = sf::Shape::Point*, bool <anonymous> = false]’:
/usr/include/c++/4.4/bits/stl_uninitialized.h:74: warning: will never be executed
/usr/include/c++/4.4/bits/stl_uninitialized.h: In static member function ‘static _ForwardIterator std::__uninitialized_copy<<anonymous> >::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = sf::Shape::Point*, _ForwardIterator = sf::Shape::Point*, bool <anonymous> = false]’:
/usr/include/c++/4.4/bits/stl_uninitialized.h:74: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = sf::Shape::Point]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
include/world.hpp: In copy constructor ‘World::World(const World&)’:
include/world.hpp:24: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl(const typename _Alloc::rebind<_Tp>::other&) [with _Tp = WorldShape, _Alloc = std::allocator<WorldShape>]’:
/usr/include/c++/4.4/bits/stl_vector.h:86: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = WorldShape]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = WorldShape]’:
/usr/include/c++/4.4/ext/new_allocator.h:68: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = WorldShape]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
include/gui.hpp: In constructor ‘GUIPage::GUIPage()’:
include/gui.hpp:18: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = GUIElement*, _Alloc = std::allocator<GUIElement*>]’:
/usr/include/c++/4.4/bits/stl_vector.h:208: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base() [with _Tp = GUIElement*, _Alloc = std::allocator<GUIElement*>]’:
/usr/include/c++/4.4/bits/stl_vector.h:105: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = GUIElement*, _Alloc = std::allocator<GUIElement*>]’:
/usr/include/c++/4.4/bits/stl_vector.h:82: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = GUIElement*]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = GUIElement*]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Tp1>&) [with _Tp1 = std::_Rb_tree_node<std::pair<const unsigned int, sf::Glyph> >, _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/bits/allocator.h:107: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = std::_Rb_tree_node<std::pair<const unsigned int, sf::Glyph> >]’:
/usr/include/c++/4.4/ext/new_allocator.h:98: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, const _Tp&) [with _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/ext/new_allocator.h:105: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = std::_Rb_tree_node<std::pair<const unsigned int, sf::Glyph> >]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = std::_Rb_tree_node<sf::ResourcePtr<sf::Font>*>]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = GUIElement*]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
In file included from Box2D/Box2D/Box2D/Collision/Shapes/b2Shape.h:23,
from Box2D/Box2D/Box2D/Collision/Shapes/b2CircleShape.h:22,
from Box2D/Box2D/Box2D/Box2D.h:36,
from include/world.hpp:5,
from include/context.hpp:8,
from include/background.hpp:8,
from src/background.cpp:1:
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool b2IsValid(float32)’:
Box2D/Box2D/Box2D/Common/b2Math.h:33: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Mat22 b2Mat22::GetInverse() const’:
Box2D/Box2D/Box2D/Common/b2Math.h:264: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Vec2 b2Mat22::Solve(const b2Vec2&) const’:
Box2D/Box2D/Box2D/Common/b2Math.h:279: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool operator==(const b2Vec2&, const b2Vec2&)’:
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Collision/b2BroadPhase.h:24,
from Box2D/Box2D/Box2D/Box2D.h:39,
from include/world.hpp:5,
from include/context.hpp:8,
from include/background.hpp:8,
from src/background.cpp:1:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h: In member function ‘void b2DynamicTree::RayCast(T*, const b2RayCastInput&) const’:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h:256: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Box2D.h:44,
from include/world.hpp:5,
from include/context.hpp:8,
from include/background.hpp:8,
from src/background.cpp:1:
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetBullet(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:590: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetAwake(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:611: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetFixedRotation(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:638: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetSleepingAllowed(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:657: warning: conversion to ‘uint16’ from ‘int’ may alter its value
src/background.cpp: In member function ‘void Background::Step()’:
src/background.cpp:30: warning: conversion to ‘int’ from ‘size_t’ may alter its value
src/background.cpp:31: warning: conversion to ‘int’ from ‘float’ may alter its value
src/background.cpp:37: warning: conversion to ‘float’ from ‘int’ may alter its value
src/background.cpp: In member function ‘void Background::AddCloud()’:
src/background.cpp:57: warning: conversion to ‘float’ from ‘int’ may alter its value
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:68: warning: will never be executed
/usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
/usr/include/c++/4.4/new:101: warning: will never be executed
/usr/include/SFML/Graphics/Sprite.hpp: In copy constructor ‘sf::Sprite::Sprite(const sf::Sprite&)’:
/usr/include/SFML/Graphics/Sprite.hpp:45: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = std::_Rb_tree_node<sf::ResourcePtr<sf::Image>*>]’:
/usr/include/c++/4.4/ext/new_allocator.h:98: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Tp1>&) [with _Tp1 = std::_Rb_tree_node<sf::ResourcePtr<sf::Image>*>, _Tp = sf::ResourcePtr<sf::Image>*]’:
/usr/include/c++/4.4/bits/allocator.h:107: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = sf::ResourcePtr<sf::Image>*]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, const _Tp&) [with _Tp = sf::ResourcePtr<sf::Image>*]’:
/usr/include/c++/4.4/ext/new_allocator.h:105: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = sf::ResourcePtr<sf::Image>*]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/new: In function ‘void operator delete(void*, void*)’:
/usr/include/c++/4.4/new:105: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = sf::Sprite]’:
/usr/include/c++/4.4/ext/new_allocator.h:98: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = sf::Sprite, _Alloc = std::allocator<sf::Sprite>]’:
/usr/include/c++/4.4/bits/stl_vector.h:208: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base() [with _Tp = sf::Sprite, _Alloc = std::allocator<sf::Sprite>]’:
/usr/include/c++/4.4/bits/stl_vector.h:105: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = sf::Sprite, _Alloc = std::allocator<sf::Sprite>]’:
/usr/include/c++/4.4/bits/stl_vector.h:82: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = sf::Sprite]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = sf::Sprite]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = sf::Sprite]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
In file included from Box2D/Box2D/Box2D/Collision/Shapes/b2Shape.h:23,
from Box2D/Box2D/Box2D/Collision/Shapes/b2CircleShape.h:22,
from Box2D/Box2D/Box2D/Box2D.h:36,
from include/world.hpp:5,
from include/context.hpp:8,
from src/context.cpp:1:
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool b2IsValid(float32)’:
Box2D/Box2D/Box2D/Common/b2Math.h:33: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Mat22 b2Mat22::GetInverse() const’:
Box2D/Box2D/Box2D/Common/b2Math.h:264: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Vec2 b2Mat22::Solve(const b2Vec2&) const’:
Box2D/Box2D/Box2D/Common/b2Math.h:279: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool operator==(const b2Vec2&, const b2Vec2&)’:
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Collision/b2BroadPhase.h:24,
from Box2D/Box2D/Box2D/Box2D.h:39,
from include/world.hpp:5,
from include/context.hpp:8,
from src/context.cpp:1:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h: In member function ‘void b2DynamicTree::RayCast(T*, const b2RayCastInput&) const’:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h:256: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Box2D.h:44,
from include/world.hpp:5,
from include/context.hpp:8,
from src/context.cpp:1:
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetBullet(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:590: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetAwake(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:611: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetFixedRotation(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:638: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetSleepingAllowed(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:657: warning: conversion to ‘uint16’ from ‘int’ may alter its value
src/context.cpp: In member function ‘void Context::RenderState()’:
src/context.cpp:40: warning: enumeration value ‘State_GameOver’ not handled in switch
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:68: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:68: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/basic_string.h: In constructor ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.4/bits/basic_string.h:2147: warning: will never be executed
/usr/include/c++/4.4/bits/basic_string.h: In member function ‘_CharT* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_refdata() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.4/bits/basic_string.h:214: warning: will never be executed
/usr/include/c++/4.4/bits/basic_string.h: In constructor ‘std::basic_string<_CharT, _Traits, _Alloc>::_Alloc_hider::_Alloc_hider(_CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
/usr/include/c++/4.4/bits/basic_string.h:260: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
In file included from Box2D/Box2D/Box2D/Collision/Shapes/b2Shape.h:23,
from Box2D/Box2D/Box2D/Collision/Shapes/b2CircleShape.h:22,
from Box2D/Box2D/Box2D/Box2D.h:36,
from include/world.hpp:5,
from include/context.hpp:8,
from include/game.hpp:5,
from src/game.cpp:1:
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool b2IsValid(float32)’:
Box2D/Box2D/Box2D/Common/b2Math.h:33: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Mat22 b2Mat22::GetInverse() const’:
Box2D/Box2D/Box2D/Common/b2Math.h:264: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Vec2 b2Mat22::Solve(const b2Vec2&) const’:
Box2D/Box2D/Box2D/Common/b2Math.h:279: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool operator==(const b2Vec2&, const b2Vec2&)’:
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Collision/b2BroadPhase.h:24,
from Box2D/Box2D/Box2D/Box2D.h:39,
from include/world.hpp:5,
from include/context.hpp:8,
from include/game.hpp:5,
from src/game.cpp:1:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h: In member function ‘void b2DynamicTree::RayCast(T*, const b2RayCastInput&) const’:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h:256: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Box2D.h:44,
from include/world.hpp:5,
from include/context.hpp:8,
from include/game.hpp:5,
from src/game.cpp:1:
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetBullet(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:590: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetAwake(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:611: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetFixedRotation(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:638: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetSleepingAllowed(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:657: warning: conversion to ‘uint16’ from ‘int’ may alter its value
src/game.cpp: At global scope:
src/game.cpp:40: warning: unused parameter ‘x’
src/game.cpp:40: warning: unused parameter ‘y’
src/game.cpp:45: warning: unused parameter ‘x’
src/game.cpp:45: warning: unused parameter ‘y’
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:68: warning: will never be executed
include/gui.hpp: In constructor ‘GUIPage::GUIPage()’:
include/gui.hpp:18: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = GUIElement*, _Alloc = std::allocator<GUIElement*>]’:
/usr/include/c++/4.4/bits/stl_vector.h:208: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base() [with _Tp = GUIElement*, _Alloc = std::allocator<GUIElement*>]’:
/usr/include/c++/4.4/bits/stl_vector.h:105: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = GUIElement*, _Alloc = std::allocator<GUIElement*>]’:
/usr/include/c++/4.4/bits/stl_vector.h:82: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = GUIElement*]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = GUIElement*]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Tp1>&) [with _Tp1 = std::_Rb_tree_node<std::pair<const unsigned int, sf::Glyph> >, _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/bits/allocator.h:107: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = std::_Rb_tree_node<std::pair<const unsigned int, sf::Glyph> >]’:
/usr/include/c++/4.4/ext/new_allocator.h:98: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, const _Tp&) [with _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/ext/new_allocator.h:105: warning: will never be executed
/usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
/usr/include/c++/4.4/new:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = std::_Rb_tree_node<std::pair<const unsigned int, sf::Glyph> >]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Tp1>&) [with _Tp1 = std::_Rb_tree_node<sf::ResourcePtr<sf::Font>*>, _Tp = sf::ResourcePtr<sf::Font>*]’:
/usr/include/c++/4.4/bits/allocator.h:107: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = sf::ResourcePtr<sf::Font>*]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = sf::ResourcePtr<sf::Font>*]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = std::_Rb_tree_node<sf::ResourcePtr<sf::Font>*>]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = GUIElement*]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
include/scene.hpp: In constructor ‘Scene::Scene()’:
include/scene.hpp:18: warning: will never be executed
include/world.hpp: In constructor ‘WorldShape::WorldShape()’:
include/world.hpp:53: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = WorldShape, _Alloc = std::allocator<WorldShape>]’:
/usr/include/c++/4.4/bits/stl_vector.h:208: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base() [with _Tp = WorldShape, _Alloc = std::allocator<WorldShape>]’:
/usr/include/c++/4.4/bits/stl_vector.h:105: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = WorldShape, _Alloc = std::allocator<WorldShape>]’:
/usr/include/c++/4.4/bits/stl_vector.h:82: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = WorldShape]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = WorldShape]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = WorldShape]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
include/scene.hpp: In constructor ‘MenuScene::MenuScene()’:
include/scene.hpp:28: warning: will never be executed
src/shape.cpp: In function ‘bool pointIntersectsShape(int, int, sf::Shape)’:
src/shape.cpp:45: warning: no previous declaration for ‘bool pointIntersectsShape(int, int, sf::Shape)’
src/shape.cpp:54: warning: conversion to ‘float’ from ‘int’ may alter its value
src/shape.cpp:54: warning: conversion to ‘float’ from ‘int’ may alter its value
In file included from Box2D/Box2D/Box2D/Collision/Shapes/b2Shape.h:23,
from Box2D/Box2D/Box2D/Collision/Shapes/b2CircleShape.h:22,
from Box2D/Box2D/Box2D/Box2D.h:36,
from src/world.cpp:1:
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool b2IsValid(float32)’:
Box2D/Box2D/Box2D/Common/b2Math.h:33: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Mat22 b2Mat22::GetInverse() const’:
Box2D/Box2D/Box2D/Common/b2Math.h:264: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Vec2 b2Mat22::Solve(const b2Vec2&) const’:
Box2D/Box2D/Box2D/Common/b2Math.h:279: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool operator==(const b2Vec2&, const b2Vec2&)’:
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Collision/b2BroadPhase.h:24,
from Box2D/Box2D/Box2D/Box2D.h:39,
from src/world.cpp:1:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h: In member function ‘void b2DynamicTree::RayCast(T*, const b2RayCastInput&) const’:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h:256: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Box2D.h:44,
from src/world.cpp:1:
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetBullet(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:590: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetAwake(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:611: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetFixedRotation(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:638: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetSleepingAllowed(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:657: warning: conversion to ‘uint16’ from ‘int’ may alter its value
src/world.cpp: In member function ‘WorldShape World::CreateBox(int, int, int, int, bool)’:
src/world.cpp:31: warning: conversion to ‘float’ from ‘int’ may alter its value
src/world.cpp:31: warning: conversion to ‘float’ from ‘int’ may alter its value
src/world.cpp:42: warning: conversion to ‘float’ from ‘int’ may alter its value
src/world.cpp:42: warning: conversion to ‘float’ from ‘int’ may alter its value
include/world.hpp: In copy constructor ‘WorldShape::WorldShape(const WorldShape&)’:
include/world.hpp:43: warning: will never be executed
Box2D/Box2D/Box2D/Collision/Shapes/b2PolygonShape.h: In copy constructor ‘b2PolygonShape::b2PolygonShape(const b2PolygonShape&)’:
Box2D/Box2D/Box2D/Collision/Shapes/b2PolygonShape.h:27: warning: will never be executed
/usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
/usr/include/c++/4.4/new:101: warning: will never be executed
/usr/include/c++/4.4/new: In function ‘void operator delete(void*, void*)’:
/usr/include/c++/4.4/new:105: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = WorldShape]’:
/usr/include/c++/4.4/ext/new_allocator.h:98: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = WorldShape, _Alloc = std::allocator<WorldShape>]’:
/usr/include/c++/4.4/bits/stl_vector.h:208: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base() [with _Tp = WorldShape, _Alloc = std::allocator<WorldShape>]’:
/usr/include/c++/4.4/bits/stl_vector.h:105: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = WorldShape, _Alloc = std::allocator<WorldShape>]’:
/usr/include/c++/4.4/bits/stl_vector.h:82: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Tp>::allocator() [with _Tp = WorldShape]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = WorldShape]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = WorldShape]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
In file included from Box2D/Box2D/Box2D/Collision/Shapes/b2Shape.h:23,
from Box2D/Box2D/Box2D/Collision/Shapes/b2CircleShape.h:22,
from Box2D/Box2D/Box2D/Box2D.h:36,
from include/world.hpp:5,
from include/context.hpp:8,
from include/gui.hpp:5,
from src/gui.cpp:1:
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool b2IsValid(float32)’:
Box2D/Box2D/Box2D/Common/b2Math.h:33: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Mat22 b2Mat22::GetInverse() const’:
Box2D/Box2D/Box2D/Common/b2Math.h:264: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Vec2 b2Mat22::Solve(const b2Vec2&) const’:
Box2D/Box2D/Box2D/Common/b2Math.h:279: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool operator==(const b2Vec2&, const b2Vec2&)’:
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Collision/b2BroadPhase.h:24,
from Box2D/Box2D/Box2D/Box2D.h:39,
from include/world.hpp:5,
from include/context.hpp:8,
from include/gui.hpp:5,
from src/gui.cpp:1:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h: In member function ‘void b2DynamicTree::RayCast(T*, const b2RayCastInput&) const’:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h:256: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Box2D.h:44,
from include/world.hpp:5,
from include/context.hpp:8,
from include/gui.hpp:5,
from src/gui.cpp:1:
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetBullet(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:590: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetAwake(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:611: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetFixedRotation(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:638: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetSleepingAllowed(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:657: warning: conversion to ‘uint16’ from ‘int’ may alter its value
src/gui.cpp: In member function ‘virtual void GUIElement::Render()’:
src/gui.cpp:86: warning: conversion to ‘float’ from ‘int’ may alter its value
src/gui.cpp:86: warning: conversion to ‘float’ from ‘int’ may alter its value
src/gui.cpp:86: warning: conversion to ‘float’ from ‘int’ may alter its value
src/gui.cpp:86: warning: conversion to ‘float’ from ‘int’ may alter its value
src/gui.cpp: In member function ‘virtual void GUIButton::Render()’:
src/gui.cpp:128: warning: conversion to ‘float’ from ‘int’ may alter its value
src/gui.cpp:129: warning: conversion to ‘float’ from ‘int’ may alter its value
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:68: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = unsigned int]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = unsigned int]’:
/usr/include/c++/4.4/ext/new_allocator.h:68: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Tp1>&) [with _Tp1 = unsigned int, _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:107: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = unsigned int]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Tp1>&) [with _Tp1 = std::_Rb_tree_node<sf::ResourcePtr<sf::Font>*>, _Tp = sf::ResourcePtr<sf::Font>*]’:
/usr/include/c++/4.4/bits/allocator.h:107: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = sf::ResourcePtr<sf::Font>*]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = sf::ResourcePtr<sf::Font>*]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
src/gui.cpp: In member function ‘virtual void GUIElement::Render()’:
src/gui.cpp:86: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = sf::Shape::Point]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Tp1>&) [with _Tp1 = std::_Rb_tree_node<std::pair<const unsigned int, sf::Glyph> >, _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/bits/allocator.h:107: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = std::_Rb_tree_node<std::pair<const unsigned int, sf::Glyph> >]’:
/usr/include/c++/4.4/ext/new_allocator.h:98: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, const _Tp&) [with _Tp = std::pair<const unsigned int, sf::Glyph>]’:
/usr/include/c++/4.4/ext/new_allocator.h:105: warning: will never be executed
/usr/include/c++/4.4/new: In function ‘void* operator new(size_t, void*)’:
/usr/include/c++/4.4/new:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = GUIElement*]’:
/usr/include/c++/4.4/ext/new_allocator.h:98: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In member function ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, const _Tp&) [with _Tp = GUIElement*]’:
/usr/include/c++/4.4/ext/new_allocator.h:105: warning: will never be executed
src/gui.cpp: In constructor ‘GUIPage::GUIPage(Window*, Context*)’:
src/gui.cpp:11: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = GUIElement*, _Alloc = std::allocator<GUIElement*>]’:
/usr/include/c++/4.4/bits/stl_vector.h:208: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base() [with _Tp = GUIElement*, _Alloc = std::allocator<GUIElement*>]’:
/usr/include/c++/4.4/bits/stl_vector.h:105: warning: will never be executed
/usr/include/c++/4.4/bits/stl_vector.h: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = GUIElement*, _Alloc = std::allocator<GUIElement*>]’:
/usr/include/c++/4.4/bits/stl_vector.h:82: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = GUIElement*]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = GUIElement*]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
src/gui.cpp: In constructor ‘GUIPage::GUIPage(Window*, Context*)’:
src/gui.cpp:11: warning: will never be executed
In file included from Box2D/Box2D/Box2D/Collision/Shapes/b2Shape.h:23,
from Box2D/Box2D/Box2D/Collision/Shapes/b2CircleShape.h:22,
from Box2D/Box2D/Box2D/Box2D.h:36,
from include/world.hpp:5,
from include/context.hpp:8,
from include/game.hpp:5,
from src/main.cpp:1:
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool b2IsValid(float32)’:
Box2D/Box2D/Box2D/Common/b2Math.h:33: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Mat22 b2Mat22::GetInverse() const’:
Box2D/Box2D/Box2D/Common/b2Math.h:264: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Vec2 b2Mat22::Solve(const b2Vec2&) const’:
Box2D/Box2D/Box2D/Common/b2Math.h:279: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool operator==(const b2Vec2&, const b2Vec2&)’:
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Collision/b2BroadPhase.h:24,
from Box2D/Box2D/Box2D/Box2D.h:39,
from include/world.hpp:5,
from include/context.hpp:8,
from include/game.hpp:5,
from src/main.cpp:1:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h: In member function ‘void b2DynamicTree::RayCast(T*, const b2RayCastInput&) const’:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h:256: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Box2D.h:44,
from include/world.hpp:5,
from include/context.hpp:8,
from include/game.hpp:5,
from src/main.cpp:1:
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetBullet(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:590: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetAwake(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:611: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetFixedRotation(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:638: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetSleepingAllowed(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:657: warning: conversion to ‘uint16’ from ‘int’ may alter its value
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:68: warning: will never be executed
In file included from Box2D/Box2D/Box2D/Collision/Shapes/b2Shape.h:23,
from Box2D/Box2D/Box2D/Collision/Shapes/b2CircleShape.h:22,
from Box2D/Box2D/Box2D/Box2D.h:36,
from include/world.hpp:5,
from src/worldshape.cpp:1:
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool b2IsValid(float32)’:
Box2D/Box2D/Box2D/Common/b2Math.h:33: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Mat22 b2Mat22::GetInverse() const’:
Box2D/Box2D/Box2D/Common/b2Math.h:264: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Vec2 b2Mat22::Solve(const b2Vec2&) const’:
Box2D/Box2D/Box2D/Common/b2Math.h:279: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool operator==(const b2Vec2&, const b2Vec2&)’:
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Collision/b2BroadPhase.h:24,
from Box2D/Box2D/Box2D/Box2D.h:39,
from include/world.hpp:5,
from src/worldshape.cpp:1:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h: In member function ‘void b2DynamicTree::RayCast(T*, const b2RayCastInput&) const’:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h:256: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Box2D.h:44,
from include/world.hpp:5,
from src/worldshape.cpp:1:
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetBullet(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:590: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetAwake(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:611: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetFixedRotation(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:638: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetSleepingAllowed(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:657: warning: conversion to ‘uint16’ from ‘int’ may alter its value
src/worldshape.cpp: In member function ‘float WorldShape::GetRotation()’:
src/worldshape.cpp:35: warning: conversion to ‘float’ from ‘double’ may alter its value
src/worldshape.cpp: In member function ‘void WorldShape::SetRotation(float)’:
src/worldshape.cpp:57: warning: conversion to ‘float’ from ‘double’ may alter its value
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = sf::Shape::Point]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
src/worldshape.cpp: In static member function ‘static WorldShape WorldShape::AsBox(b2Body*, float, float, bool)’:
src/worldshape.cpp:11: warning: will never be executed
src/worldshape.cpp: In constructor ‘WorldShape::WorldShape(float, float, sf::Color)’:
src/worldshape.cpp:7: warning: will never be executed
src/worldshape.cpp: In constructor ‘WorldShape::WorldShape(float, float, sf::Color)’:
src/worldshape.cpp:7: warning: will never be executed
In file included from Box2D/Box2D/Box2D/Collision/Shapes/b2Shape.h:23,
from Box2D/Box2D/Box2D/Collision/Shapes/b2CircleShape.h:22,
from Box2D/Box2D/Box2D/Box2D.h:36,
from include/world.hpp:5,
from include/context.hpp:8,
from include/input.hpp:4,
from src/input.cpp:1:
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool b2IsValid(float32)’:
Box2D/Box2D/Box2D/Common/b2Math.h:33: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Mat22 b2Mat22::GetInverse() const’:
Box2D/Box2D/Box2D/Common/b2Math.h:264: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In member function ‘b2Vec2 b2Mat22::Solve(const b2Vec2&) const’:
Box2D/Box2D/Box2D/Common/b2Math.h:279: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h: In function ‘bool operator==(const b2Vec2&, const b2Vec2&)’:
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
Box2D/Box2D/Box2D/Common/b2Math.h:446: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Collision/b2BroadPhase.h:24,
from Box2D/Box2D/Box2D/Box2D.h:39,
from include/world.hpp:5,
from include/context.hpp:8,
from include/input.hpp:4,
from src/input.cpp:1:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h: In member function ‘void b2DynamicTree::RayCast(T*, const b2RayCastInput&) const’:
Box2D/Box2D/Box2D/Collision/b2DynamicTree.h:256: warning: comparing floating point with == or != is unsafe
In file included from Box2D/Box2D/Box2D/Box2D.h:44,
from include/world.hpp:5,
from include/context.hpp:8,
from include/input.hpp:4,
from src/input.cpp:1:
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetBullet(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:590: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetAwake(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:611: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetFixedRotation(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:638: warning: conversion to ‘uint16’ from ‘int’ may alter its value
Box2D/Box2D/Box2D/Dynamics/b2Body.h: In member function ‘void b2Body::SetSleepingAllowed(bool)’:
Box2D/Box2D/Box2D/Dynamics/b2Body.h:657: warning: conversion to ‘uint16’ from ‘int’ may alter its value
/usr/include/c++/4.4/bits/allocator.h: In constructor ‘std::allocator<_Alloc>::allocator() [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:101: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:66: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In destructor ‘__gnu_cxx::new_allocator<_Tp>::~new_allocator() [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:73: warning: will never be executed
/usr/include/c++/4.4/bits/allocator.h: In copy constructor ‘std::allocator<_Alloc>::allocator(const std::allocator<_Alloc>&) [with _Tp = char]’:
/usr/include/c++/4.4/bits/allocator.h:104: warning: will never be executed
/usr/include/c++/4.4/ext/new_allocator.h: In copy constructor ‘__gnu_cxx::new_allocator<_Tp>::new_allocator(const __gnu_cxx::new_allocator<_Tp>&) [with _Tp = char]’:
/usr/include/c++/4.4/ext/new_allocator.h:68: warning: will never be executed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment