Advertisement
Boost

Untitled

Nov 10th, 2018
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.28 KB | None | 0 0
  1. [ 0%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreASTCCodec.cpp.o
  2. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHardwareVertexBuffer.h:36,
  3. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePose.h:33,
  4. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreAnimationTrack.h:36,
  5. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreAnimation.h:34,
  6. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreMesh.h:36,
  7. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreLodStrategy.h:33,
  8. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreRenderable.h:43,
  9. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreNode.h:34,
  10. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSceneNode.h:33,
  11. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreMovableObject.h:37,
  12. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreLight.h:35,
  13. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreAutoParamDataSource.h:33,
  14. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSceneManager.h:41,
  15. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSceneManagerEnumerator.h:33,
  16. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreRoot.h:34,
  17. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreASTCCodec.cpp:31:
  18. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h: Jäsenfunktio ”void Ogre::HlmsPso::initialize()”:
  19. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h:206:51: varoitus: ”void* memset(void*, int, size_t)” clearing an object of non-trivial type ”struct Ogre::HlmsPassPso”; use assignment or value-initialization instead [-Wclass-memaccess]
  20. memset( &pass, 0, sizeof(HlmsPassPso) );
  21. ^
  22. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h:101:12: huom: ”struct Ogre::HlmsPassPso” declared here
  23. struct HlmsPassPso
  24. ^~~~~~~~~~~
  25.  
  26.  
  27.  
  28.  
  29. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreForward3D.cpp: Jäsenfunktio ”virtual void Ogre::Forward3D::collectLights(Ogre::Camera*)”:
  30. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreForward3D.cpp:221:93: varoitus: ”void* memset(void*, int, size_t)” clearing an object of non-trivial type ”struct Ogre::ForwardPlusBase::LightCount”; use assignment or value-initialization instead [-Wclass-memaccess]
  31. memset( mLightCountInCell.begin(), 0, mLightCountInCell.size() * sizeof(LightCount) );
  32. ^
  33. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreForward3D.h:32,
  34. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreForward3D.cpp:31:
  35. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreForwardPlusBase.h:103:16: huom: ”struct Ogre::ForwardPlusBase::LightCount” declared here
  36. struct LightCount
  37. ^~~~~~~~~~
  38.  
  39.  
  40. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreForwardClustered.cpp: Jäsenfunktio ”void Ogre::ForwardClustered::collectLightForSlice(size_t, size_t)”:
  41. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreForwardClustered.cpp:386:88: varoitus: ”void* memset(void*, int, size_t)” clearing an object of non-trivial type ”struct Ogre::ForwardPlusBase::LightCount”; use assignment or value-initialization instead [-Wclass-memaccess]
  42. 0, numPackedFrustumsPerSlice * ARRAY_PACKED_REALS * sizeof(LightCount) );
  43. ^
  44. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreForwardClustered.h:32,
  45. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreForwardClustered.cpp:31:
  46. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreForwardPlusBase.h:103:16: huom: ”struct Ogre::ForwardPlusBase::LightCount” declared here
  47. struct LightCount
  48. ^~~~~~~~~~
  49.  
  50.  
  51. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreHlms.cpp: Jäsenfunktio ”Ogre::HlmsPassPso Ogre::Hlms::getPassPsoForScene(Ogre::SceneManager*)”:
  52. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreHlms.cpp:2902:50: varoitus: ”void* memset(void*, int, size_t)” clearing an object of non-trivial type ”struct Ogre::HlmsPassPso”; use assignment or value-initialization instead [-Wclass-memaccess]
  53. memset( &passPso, 0, sizeof(HlmsPassPso) );
  54. ^
  55. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsCommon.h:35,
  56. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlms.h:32,
  57. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreHlms.cpp:31:
  58. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h:101:12: huom: ”struct Ogre::HlmsPassPso” declared here
  59. struct HlmsPassPso
  60. ^~~~~~~~~~~
  61.  
  62.  
  63. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Animation/OgreSkeletonInstance.h:32,
  64. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreHlmsLowLevel.cpp:44:
  65. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Animation/OgreSkeletonAnimation.h: Globaalilla näkyvyysalueella:
  66. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Animation/OgreSkeletonAnimation.h:58:58: varoitus: ignoring attributes on template argument ”Ogre::ArrayReal” {aka ”__vector(4) float”} [-Wignored-attributes]
  67. RawSimdUniquePtr<ArrayReal, MEMCATEGORY_ANIMATION> mBoneWeights;
  68. ^
  69. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Animation/OgreSkeletonAnimation.h:174:90: varoitus: ignoring attributes on template argument ”Ogre::ArrayReal” {aka ”__vector(4) float”} [-Wignored-attributes]
  70. void _swapBoneWeightsUniquePtr( RawSimdUniquePtr<ArrayReal, MEMCATEGORY_ANIMATION>
  71. ^
  72. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreHlmsLowLevel.cpp:44:
  73. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Animation/OgreSkeletonInstance.h:80:58: varoitus: ignoring attributes on template argument ”Ogre::ArrayReal” {aka ”__vector(4) float”} [-Wignored-attributes]
  74. RawSimdUniquePtr<ArrayReal, MEMCATEGORY_ANIMATION> mManualBones;
  75.  
  76.  
  77.  
  78. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreMesh2SerializerImpl.cpp: Jäsenfunktio ”virtual void Ogre::MeshSerializerImpl::readSubMesh(Ogre::DataStreamPtr&, Ogre::Mesh*, Ogre::MeshSerializerListener*, Ogre::uint8)”:
  79. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreMesh2SerializerImpl.cpp:803:28: varoitus: unused variable ”streamID” [-Wunused-variable]
  80. uint16 streamID = readChunk(stream);
  81. ^~~~~~~~
  82. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreMesh2SerializerImpl.cpp: Jäsenfunktio ”virtual void Ogre::MeshSerializerImpl_v2_1_R1::readSubMesh(Ogre::DataStreamPtr&, Ogre::Mesh*, Ogre::MeshSerializerListener*, Ogre::uint8)”:
  83. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreMesh2SerializerImpl.cpp:2235:28: varoitus: unused variable ”streamID” [-Wunused-variable]
  84. uint16 streamID = readChunk(stream);
  85. ^~~~~~~~
  86.  
  87.  
  88.  
  89. Jäsenfunktio ”bool Ogre::HlmsPso::lessThanExcludePassData(const Ogre::HlmsPso&) const”,
  90. inlined from ”bool Ogre::PsoCacheHelper::RenderableCacheEntry::operator<(const Ogre::PsoCacheHelper::RenderableCacheEntry&) const” at /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePsoCacheHelper.h:164:70,
  91. inlined from ”bool __gnu_cxx::__ops::_Iter_less_val::operator()(_Iterator, _Value&) const [with _Iterator = __gnu_cxx::__normal_iterator<Ogre::PsoCacheHelper::RenderableCacheEntry*, std::vector<Ogre::PsoCacheHelper::RenderableCacheEntry, Ogre::STLAllocator<Ogre::PsoCacheHelper::RenderableCacheEntry, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > >; _Value = const Ogre::PsoCacheHelper::RenderableCacheEntry]” at /usr/include/c++/8/bits/predefined_ops.h:65:22,
  92. inlined from ”_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator<Ogre::PsoCacheHelper::RenderableCacheEntry*, std::vector<Ogre::PsoCacheHelper::RenderableCacheEntry, Ogre::STLAllocator<Ogre::PsoCacheHelper::RenderableCacheEntry, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > >; _Tp = Ogre::PsoCacheHelper::RenderableCacheEntry; _Compare = __gnu_cxx::__ops::_Iter_less_val]” at /usr/include/c++/8/bits/stl_algobase.h:959:14:
  93. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h:258:26: varoitus: ”int memcmp(const void*, const void*, size_t)” specified size 18446744073709551592 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
  94. return memcmp( &this->operationType, &_r.operationType,
  95. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  96. (const uint8*)&this->operationType -
  97. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  98. (const uint8*)&this->sampleMask ) < 0;
  99. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  100. Jäsenfunktio ”bool Ogre::HlmsPso::equalExcludePassData(const Ogre::HlmsPso&) const”,
  101. inlined from ”Ogre::uint32 Ogre::PsoCacheHelper::getRenderableHash()” at /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgrePsoCacheHelper.cpp:103:56:
  102. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h:245:19: varoitus: ”int __builtin_memcmp_eq(const void*, const void*, long unsigned int)” specified size 18446744073709551592 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
  103. memcmp( &this->operationType, &_r.operationType,
  104. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  105. (const uint8*)&this->operationType -
  106. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  107. (const uint8*)&this->sampleMask ) == 0;
  108. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  109.  
  110.  
  111.  
  112.  
  113. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStdHeaders.h:40,
  114. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePrerequisites.h:428,
  115. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreRenderQueue.h:31,
  116. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreRenderQueue.cpp:30:
  117. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::growToFit(size_t) [with T = Ogre::RenderQueue::ThreadRenderQueue; size_t = long unsigned int]”:
  118. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:301:17: required from ”void Ogre::FastArray<T>::resize(size_t, const T&) [with T = Ogre::RenderQueue::ThreadRenderQueue; size_t = long unsigned int]”
  119. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreRenderQueue.cpp:100:102: required from here
  120. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:87:27: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of type ”struct Ogre::RenderQueue::ThreadRenderQueue” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  121. memcpy( data, mData, mSize * sizeof(T) );
  122. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  123. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreRenderQueue.cpp:30:
  124. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreRenderQueue.h:121:16: huom: ”struct Ogre::RenderQueue::ThreadRenderQueue” declared here
  125. struct ThreadRenderQueue
  126. ^~~~~~~~~~~~~~~~~
  127. [ 33%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreRenderSystem.cpp.o
  128. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHardwareVertexBuffer.h:36,
  129. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreRenderSystem.h:41,
  130. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreRenderSystem.cpp:35:
  131. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h: Jäsenfunktio ”void Ogre::HlmsPso::initialize()”:
  132. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h:206:51: varoitus: ”void* memset(void*, int, size_t)” clearing an object of non-trivial type ”struct Ogre::HlmsPassPso”; use assignment or value-initialization instead [-Wclass-memaccess]
  133. memset( &pass, 0, sizeof(HlmsPassPso) );
  134. ^
  135. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h:101:12: huom: ”struct Ogre::HlmsPassPso” declared here
  136. struct HlmsPassPso
  137. ^~~~~~~~~~~
  138. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreRenderSystem.cpp: Jäsenfunktio ”virtual void Ogre::RenderSystem::createUniqueDepthBufferFor(Ogre::RenderTarget*, bool)”:
  139. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreRenderSystem.cpp:654:18: varoitus: unused variable ”bAttached” [-Wunused-variable]
  140. bool bAttached = renderTarget->attachDepthBuffer( newDepthBuffer, exactMatch );
  141. ^~~~~~~~~
  142.  
  143.  
  144.  
  145. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreRoot.cpp: Jäsenfunktio ”void Ogre::Root::loadPlugins(const String&)”:
  146. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreRoot.cpp:1176:16: varoitus: catching polymorphic type ”class Ogre::Exception” by value [-Wcatch-value=]
  147. catch (Exception)
  148. ^~~~~~~~~
  149.  
  150.  
  151.  
  152.  
  153. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSceneManager.cpp: Jäsenfunktio ”void Ogre::SceneManager::buildLightList()”:
  154. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSceneManager.cpp:2612:60: varoitus: ”void* memmove(void*, const void*, size_t)” writing to an object of type ”class Ogre::Sphere” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  155. sizeof( Sphere ) * numCollectedLights );
  156. ^
  157. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSceneQuery.h:32,
  158. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSceneManager.h:40,
  159. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSceneManager.cpp:30:
  160. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSphere.h:50:23: huom: ”class Ogre::Sphere” declared here
  161. class _OgreExport Sphere
  162. ^~~~~~
  163. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSceneManager.cpp: Jäsenfunktio ”void Ogre::SceneManager::renderSingleObject(Ogre::Renderable*, const Ogre::Pass*, bool, bool)”:
  164. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSceneManager.cpp:2935:25: varoitus: variable ”cullMode” set but not used [-Wunused-but-set-variable]
  165. CullingMode cullMode = mPassCullingMode;
  166. ^~~~~~~~
  167. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStdHeaders.h:40,
  168. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePrerequisites.h:428,
  169. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSceneManager.h:34,
  170. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSceneManager.cpp:30:
  171. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::growToFit(size_t) [with T = Ogre::FastArray<Ogre::Light*>; size_t = long unsigned int]”:
  172. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:301:17: required from ”void Ogre::FastArray<T>::resize(size_t, const T&) [with T = Ogre::FastArray<Ogre::Light*>; size_t = long unsigned int]”
  173. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSceneManager.cpp:197:57: required from here
  174. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:87:27: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of type ”class Ogre::FastArray<Ogre::Light*>” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  175. memcpy( data, mData, mSize * sizeof(T) );
  176. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  177. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:65:33: huom: ”class Ogre::FastArray<Ogre::Light*>” declared here
  178. template <typename T> class FastArray
  179. ^~~~~~~~~
  180. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::growToFit(size_t) [with T = Ogre::FastArray<Ogre::FastArray<Ogre::MovableObject*> >; size_t = long unsigned int]”:
  181. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:301:17: required from ”void Ogre::FastArray<T>::resize(size_t, const T&) [with T = Ogre::FastArray<Ogre::FastArray<Ogre::MovableObject*> >; size_t = long unsigned int]”
  182. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSceneManager.cpp:199:47: required from here
  183. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:87:27: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of type ”class Ogre::FastArray<Ogre::FastArray<Ogre::MovableObject*> >” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  184. memcpy( data, mData, mSize * sizeof(T) );
  185. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  186. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:65:33: huom: ”class Ogre::FastArray<Ogre::FastArray<Ogre::MovableObject*> >” declared here
  187. template <typename T> class FastArray
  188. ^~~~~~~~~
  189. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::growToFit(size_t) [with T = Ogre::FastArray<Ogre::MovableObject*>; size_t = long unsigned int]”:
  190. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:301:17: required from ”void Ogre::FastArray<T>::resize(size_t, const T&) [with T = Ogre::FastArray<Ogre::MovableObject*>; size_t = long unsigned int]”
  191. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSceneManager.cpp:2329:41: required from here
  192. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:87:27: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of type ”class Ogre::FastArray<Ogre::MovableObject*>” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  193. memcpy( data, mData, mSize * sizeof(T) );
  194. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  195. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:65:33: huom: ”class Ogre::FastArray<Ogre::MovableObject*>” declared here
  196. template <typename T> class FastArray
  197. ^~~~~~~~~
  198.  
  199.  
  200.  
  201. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptLexer.cpp: Jäsenfunktio ”Ogre::ScriptTokenListPtr Ogre::ScriptLexer::tokenize(const String&, const String&)”:
  202. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptLexer.cpp:134:12: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  203. state = WORD;
  204. ~~~~~~^~~~~~
  205. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptLexer.cpp:136:4: huom: here
  206. case WORD:
  207. ^~~~
  208.  
  209.  
  210.  
  211. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptParser.cpp: Jäsenfunktio ”Ogre::ConcreteNodeListPtr Ogre::ScriptParser::parseChunk(const ScriptTokenListPtr&)”:
  212. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptParser.cpp:482:28: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  213. node->type = CNT_QUOTE;
  214. ~~~~~~~~~~~^~~~~~~~~~~
  215. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptParser.cpp:483:13: huom: here
  216. default:
  217. ^~~~~~~
  218.  
  219.  
  220.  
  221.  
  222. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp: Jäsenfunktio ”virtual void Ogre::PassTranslator::translate(Ogre::ScriptCompiler*, const AbstractNodePtr&)”:
  223. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:2611:60: varoitus: enum constant in boolean context [-Wint-in-bool-context]
  224. else if(ID_PER_N_LIGHTS)
  225. ^
  226. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp: Jäsenfunktio ”virtual void Ogre::CompositorShadowMapRepeatTranslator::translate(Ogre::ScriptCompiler*, const AbstractNodePtr&)”:
  227. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:7829:73: varoitus: conversion from ”long unsigned int” to ”unsigned int” changes value from ”18446744073709551615” to ”4294967295” [-Woverflow]
  228. targetPassName, std::numeric_limits<size_t>::max() );
  229. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  230. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp: Jäsenfunktio ”virtual void Ogre::CompositorShadowMapTargetTranslator::translate(Ogre::ScriptCompiler*, const AbstractNodePtr&)”:
  231. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:7950:99: varoitus: conversion from ”long unsigned int” to ”unsigned int” changes value from ”18446744073709551615” to ”4294967295” [-Woverflow]
  232. std::numeric_limits<size_t>::max() );
  233. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  234. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp: Jäsenfunktio ”virtual void Ogre::TextureUnitTranslator::translate(Ogre::ScriptCompiler*, const AbstractNodePtr&)”:
  235. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:3179:45: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  236. }
  237. ^
  238. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:3180:113: huom: here
  239. } case ID_2D:
  240. ^~~~
  241. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp: Jäsenfunktio ”void Ogre::CompositorPassTranslator::translateUav(Ogre::ScriptCompiler*, const AbstractNodePtr&, Ogre::CompositorTargetDef*)”:
  242. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:8974:48: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  243. access |= ResourceAccess::Read;
  244. ~~~~~~~^~~~~~~~~~~~~~~~~
  245. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:8975:37: huom: here
  246. case ID_WRITE:
  247. ^~~~
  248. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:9077:48: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  249. access |= ResourceAccess::Read;
  250. ~~~~~~~^~~~~~~~~~~~~~~~~
  251. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:9078:37: huom: here
  252. case ID_WRITE:
  253. ^~~~
  254. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp: Jäsenfunktio ”void Ogre::CompositorPassTranslator::translateCompute(Ogre::ScriptCompiler*, const AbstractNodePtr&, Ogre::CompositorTargetDef*)”:
  255. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:9278:48: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  256. access |= ResourceAccess::Read;
  257. ~~~~~~~^~~~~~~~~~~~~~~~~
  258. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:9279:37: huom: here
  259. case ID_WRITE:
  260. ^~~~
  261. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:9374:48: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  262. access |= ResourceAccess::Read;
  263. ~~~~~~~^~~~~~~~~~~~~~~~~
  264. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:9375:37: huom: here
  265. case ID_WRITE:
  266. ^~~~
  267. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp: Jäsenfunktio ”virtual void Ogre::CompositorPassTranslator::translate(Ogre::ScriptCompiler*, const AbstractNodePtr&)”:
  268. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:9922:44: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  269. access |= ResourceAccess::Read;
  270. ~~~~~~~^~~~~~~~~~~~~~~~~
  271. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreScriptTranslator.cpp:9923:33: huom: here
  272. case ID_WRITE:
  273. ^~~~
  274.  
  275.  
  276.  
  277. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreStaticGeometry.cpp: Jäsenfunktio ”void Ogre::v1::StaticGeometry::MaterialBucket::addRenderables(Ogre::RenderQueue*, Ogre::uint8, size_t)”:
  278. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreStaticGeometry.cpp:1044:17: varoitus: unused variable ”region” [-Wunused-variable]
  279. Region *region = mParent->getParent();
  280. ^~~~~~
  281.  
  282.  
  283.  
  284. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStdHeaders.h:40,
  285. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePrerequisites.h:428,
  286. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSubMesh2.h:31,
  287. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:29:
  288. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::reserve(size_t) [with T = Ogre::v1::VertexElement; size_t = long unsigned int]”:
  289. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:797:54: required from here
  290. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:291:23: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of non-trivially copyable type ”class Ogre::v1::VertexElement”; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  291. memcpy( data, mData, mSize * sizeof(T) );
  292. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  293. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreVertexIndexData.h:32,
  294. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreRenderOperation.h:32,
  295. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Vao/OgreVertexArrayObject.h:34,
  296. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSubMesh2.h:34,
  297. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:29:
  298. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHardwareVertexBuffer.h:112:23: huom: ”class Ogre::v1::VertexElement” declared here
  299. class _OgreExport VertexElement : public VertexDataAlloc
  300. ^~~~~~~~~~~~~
  301. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStdHeaders.h:40,
  302. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePrerequisites.h:428,
  303. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSubMesh2.h:31,
  304. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:29:
  305. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”T* Ogre::FastArray<T>::erase(Ogre::FastArray<T>::iterator) [with T = Ogre::v1::VertexElement; Ogre::FastArray<T>::iterator = Ogre::v1::VertexElement*]”:
  306. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:867:52: required from here
  307. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:239:20: varoitus: ”void* memmove(void*, const void*, size_t)” writing to an object of non-trivially copyable type ”class Ogre::v1::VertexElement”; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  308. memmove( mData + idx, mData + idx + 1, (mSize - idx - 1) * sizeof(T) );
  309. ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  310. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreVertexIndexData.h:32,
  311. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreRenderOperation.h:32,
  312. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Vao/OgreVertexArrayObject.h:34,
  313. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSubMesh2.h:34,
  314. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:29:
  315. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHardwareVertexBuffer.h:112:23: huom: ”class Ogre::v1::VertexElement” declared here
  316. class _OgreExport VertexElement : public VertexDataAlloc
  317. ^~~~~~~~~~~~~
  318. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStdHeaders.h:40,
  319. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePrerequisites.h:428,
  320. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSubMesh2.h:31,
  321. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:29:
  322. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::growToFit(size_t) [with T = Ogre::VertexArrayObject::ReadRequests; size_t = long unsigned int]”:
  323. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:184:13: required from ”void Ogre::FastArray<T>::push_back(const T&) [with T = Ogre::VertexArrayObject::ReadRequests]”
  324. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:206:80: required from here
  325. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:87:27: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of type ”struct Ogre::VertexArrayObject::ReadRequests” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  326. memcpy( data, mData, mSize * sizeof(T) );
  327. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  328. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSubMesh2.h:34,
  329. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:29:
  330. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Vao/OgreVertexArrayObject.h:180:16: huom: ”struct Ogre::VertexArrayObject::ReadRequests” declared here
  331. struct ReadRequests
  332. ^~~~~~~~~~~~
  333. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStdHeaders.h:40,
  334. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePrerequisites.h:428,
  335. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSubMesh2.h:31,
  336. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:29:
  337. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::growToFit(size_t) [with T = Ogre::v1::VertexElement; size_t = long unsigned int]”:
  338. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:184:13: required from ”void Ogre::FastArray<T>::push_back(const T&) [with T = Ogre::v1::VertexElement]”
  339. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:817:46: required from here
  340. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:87:27: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of non-trivially copyable type ”class Ogre::v1::VertexElement”; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  341. memcpy( data, mData, mSize * sizeof(T) );
  342. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  343. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreVertexIndexData.h:32,
  344. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreRenderOperation.h:32,
  345. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Vao/OgreVertexArrayObject.h:34,
  346. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSubMesh2.h:34,
  347. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreSubMesh2.cpp:29:
  348. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHardwareVertexBuffer.h:112:23: huom: ”class Ogre::v1::VertexElement” declared here
  349. class _OgreExport VertexElement : public VertexDataAlloc
  350. ^~~~~~~~~~~~~
  351.  
  352.  
  353.  
  354. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreTextureUnitState.cpp: Jäsenfunktio ”Ogre::TextureUnitState& Ogre::TextureUnitState::operator=(const Ogre::TextureUnitState&)”:
  355. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreTextureUnitState.cpp:147:83: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of type ”class Ogre::TextureUnitState” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  356. memcpy( this, &oth, (const uchar *)(&oth.mFrames) - (const uchar *)(&oth) );
  357. ^
  358. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreTextureUnitState.cpp:30:
  359. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreTextureUnitState.h:61:23: huom: ”class Ogre::TextureUnitState” declared here
  360. class _OgreExport TextureUnitState : public TextureUnitStateAlloc
  361. ^~~~~~~~~~~~~~~~
  362.  
  363.  
  364.  
  365. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Animation/OgreSkeletonAnimation.h:35,
  366. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Animation/OgreSkeletonDef.h:32,
  367. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Animation/OgreSkeletonDef.cpp:31:
  368. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreRawPtr.h: In instantiation of ”void Ogre::RawSimdUniquePtr<T, M_CATEGORY>::operator=(const Ogre::RawSimdUniquePtr<T, M_CATEGORY>&) [with T = Ogre::ArrayMatrixAf4x3; Ogre::MemoryCategory M_CATEGORY = (Ogre::MemoryCategory)2]”:
  369. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Animation/OgreSkeletonDef.cpp:272:103: required from here
  370. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreRawPtr.h:112:27: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of non-trivially copyable type ”class Ogre::ArrayMatrixAf4x3”; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  371. memcpy( mPtr, copy.mPtr, copy.mNumElements * sizeof( T ) );
  372. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  373. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/OgreArrayMatrixAf4x3.h:38,
  374. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Animation/OgreSkeletonDef.h:37,
  375. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Animation/OgreSkeletonDef.cpp:31:
  376. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/OgreArrayMatrixAf4x3.h:69:23: huom: ”class Ogre::ArrayMatrixAf4x3” declared here
  377. class _OgreExport ArrayMatrixAf4x3
  378. ^~~~~~~~~~~~~~~~
  379.  
  380.  
  381.  
  382. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Animation/OgreSkeletonTrack.cpp: Jäsenfunktio ”void Ogre::SkeletonTrack::addKeyFrame(Ogre::Real, Ogre::Real)”:
  383. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Animation/OgreSkeletonTrack.cpp:74:85: varoitus: tyyppimuunnos tyypistä ”Ogre::KfTransform* __restrict__*” tyyppiin ”Ogre::KfTransform**” hylkää määreet [-Wcast-qual]
  384. mLocalMemoryManager->createNewNode( (KfTransform**)(&keyFrame.mBoneTransform) );
  385. ^
  386.  
  387.  
  388.  
  389. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Compositor/Pass/OgreCompositorPass.cpp: Funktio ”Ogre::uint32 Ogre::transitionWriteBarrierBits(Ogre::ResourceLayout::Layout)”:
  390. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Compositor/Pass/OgreCompositorPass.cpp:236:15: varoitus: lueteltua arvoa ”Undefined” ei käsitellä switch-lauseessa [-Wswitch]
  391. switch( oldLayout )
  392. ^
  393. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Compositor/Pass/OgreCompositorPass.cpp:236:15: varoitus: lueteltua arvoa ”Texture” ei käsitellä switch-lauseessa [-Wswitch]
  394. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Compositor/Pass/OgreCompositorPass.cpp:236:15: varoitus: lueteltua arvoa ”TextureDepth” ei käsitellä switch-lauseessa [-Wswitch]
  395. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Compositor/Pass/OgreCompositorPass.cpp:236:15: varoitus: lueteltua arvoa ”Clear” ei käsitellä switch-lauseessa [-Wswitch]
  396. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Compositor/Pass/OgreCompositorPass.cpp:236:15: varoitus: lueteltua arvoa ”CopySrc” ei käsitellä switch-lauseessa [-Wswitch]
  397. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Compositor/Pass/OgreCompositorPass.cpp:236:15: varoitus: lueteltua arvoa ”CopyDst” ei käsitellä switch-lauseessa [-Wswitch]
  398. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Compositor/Pass/OgreCompositorPass.cpp:236:15: varoitus: lueteltua arvoa ”NumResourceLayouts” ei käsitellä switch-lauseessa [-Wswitch]
  399.  
  400.  
  401.  
  402.  
  403. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp: Funktio ”void Ogre::MurmurHash3_x86_32(const void*, int, uint32_t, void*)”:
  404. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:137:14: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  405. case 3: k1 ^= tail[2] << 16;
  406. ~~~^~~~~~~~~~~~~~~~
  407. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:138:3: huom: here
  408. case 2: k1 ^= tail[1] << 8;
  409. ^~~~
  410. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:138:14: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  411. case 2: k1 ^= tail[1] << 8;
  412. ~~~^~~~~~~~~~~~~~~
  413. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:139:3: huom: here
  414. case 1: k1 ^= tail[0];
  415. ^~~~
  416. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp: Funktio ”void Ogre::MurmurHash3_x86_128(const void*, int, uint32_t, void*)”:
  417. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:212:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  418. case 15: k4 ^= tail[14] << 16;
  419. ~~~^~~~~~~~~~~~~~~~~
  420. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:213:3: huom: here
  421. case 14: k4 ^= tail[13] << 8;
  422. ^~~~
  423. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:213:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  424. case 14: k4 ^= tail[13] << 8;
  425. ~~~^~~~~~~~~~~~~~~~
  426. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:214:3: huom: here
  427. case 13: k4 ^= tail[12] << 0;
  428. ^~~~
  429. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:215:56: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  430. k4 *= c4; k4 = ROTL32(k4,18); k4 *= c1; h4 ^= k4;
  431. ~~~^~~~~
  432. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:217:3: huom: here
  433. case 12: k3 ^= tail[11] << 24;
  434. ^~~~
  435. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:217:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  436. case 12: k3 ^= tail[11] << 24;
  437. ~~~^~~~~~~~~~~~~~~~~
  438. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:218:3: huom: here
  439. case 11: k3 ^= tail[10] << 16;
  440. ^~~~
  441. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:218:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  442. case 11: k3 ^= tail[10] << 16;
  443. ~~~^~~~~~~~~~~~~~~~~
  444. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:219:3: huom: here
  445. case 10: k3 ^= tail[ 9] << 8;
  446. ^~~~
  447. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:219:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  448. case 10: k3 ^= tail[ 9] << 8;
  449. ~~~^~~~~~~~~~~~~~~~
  450. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:220:3: huom: here
  451. case 9: k3 ^= tail[ 8] << 0;
  452. ^~~~
  453. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:221:56: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  454. k3 *= c3; k3 = ROTL32(k3,17); k3 *= c4; h3 ^= k3;
  455. ~~~^~~~~
  456. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:223:3: huom: here
  457. case 8: k2 ^= tail[ 7] << 24;
  458. ^~~~
  459. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:223:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  460. case 8: k2 ^= tail[ 7] << 24;
  461. ~~~^~~~~~~~~~~~~~~~~
  462. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:224:3: huom: here
  463. case 7: k2 ^= tail[ 6] << 16;
  464. ^~~~
  465. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:224:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  466. case 7: k2 ^= tail[ 6] << 16;
  467. ~~~^~~~~~~~~~~~~~~~~
  468. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:225:3: huom: here
  469. case 6: k2 ^= tail[ 5] << 8;
  470. ^~~~
  471. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:225:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  472. case 6: k2 ^= tail[ 5] << 8;
  473. ~~~^~~~~~~~~~~~~~~~
  474. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:226:3: huom: here
  475. case 5: k2 ^= tail[ 4] << 0;
  476. ^~~~
  477. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:227:56: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  478. k2 *= c2; k2 = ROTL32(k2,16); k2 *= c3; h2 ^= k2;
  479. ~~~^~~~~
  480. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:229:3: huom: here
  481. case 4: k1 ^= tail[ 3] << 24;
  482. ^~~~
  483. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:229:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  484. case 4: k1 ^= tail[ 3] << 24;
  485. ~~~^~~~~~~~~~~~~~~~~
  486. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:230:3: huom: here
  487. case 3: k1 ^= tail[ 2] << 16;
  488. ^~~~
  489. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:230:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  490. case 3: k1 ^= tail[ 2] << 16;
  491. ~~~^~~~~~~~~~~~~~~~~
  492. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:231:3: huom: here
  493. case 2: k1 ^= tail[ 1] << 8;
  494. ^~~~
  495. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:231:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  496. case 2: k1 ^= tail[ 1] << 8;
  497. ~~~^~~~~~~~~~~~~~~~
  498. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:232:3: huom: here
  499. case 1: k1 ^= tail[ 0] << 0;
  500. ^~~~
  501. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp: Funktio ”void Ogre::MurmurHash3_x64_128(const void*, int, uint32_t, void*)”:
  502. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:301:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  503. case 15: k2 ^= ((uint64_t)tail[14]) << 48;
  504. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  505. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:302:3: huom: here
  506. case 14: k2 ^= ((uint64_t)tail[13]) << 40;
  507. ^~~~
  508. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:302:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  509. case 14: k2 ^= ((uint64_t)tail[13]) << 40;
  510. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  511. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:303:3: huom: here
  512. case 13: k2 ^= ((uint64_t)tail[12]) << 32;
  513. ^~~~
  514. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:303:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  515. case 13: k2 ^= ((uint64_t)tail[12]) << 32;
  516. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  517. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:304:3: huom: here
  518. case 12: k2 ^= ((uint64_t)tail[11]) << 24;
  519. ^~~~
  520. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:304:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  521. case 12: k2 ^= ((uint64_t)tail[11]) << 24;
  522. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  523. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:305:3: huom: here
  524. case 11: k2 ^= ((uint64_t)tail[10]) << 16;
  525. ^~~~
  526. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:305:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  527. case 11: k2 ^= ((uint64_t)tail[10]) << 16;
  528. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  529. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:306:3: huom: here
  530. case 10: k2 ^= ((uint64_t)tail[ 9]) << 8;
  531. ^~~~
  532. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:306:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  533. case 10: k2 ^= ((uint64_t)tail[ 9]) << 8;
  534. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  535. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:307:3: huom: here
  536. case 9: k2 ^= ((uint64_t)tail[ 8]) << 0;
  537. ^~~~
  538. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:308:56: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  539. k2 *= c2; k2 = ROTL64(k2,33); k2 *= c1; h2 ^= k2;
  540. ~~~^~~~~
  541. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:310:3: huom: here
  542. case 8: k1 ^= ((uint64_t)tail[ 7]) << 56;
  543. ^~~~
  544. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:310:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  545. case 8: k1 ^= ((uint64_t)tail[ 7]) << 56;
  546. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  547. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:311:3: huom: here
  548. case 7: k1 ^= ((uint64_t)tail[ 6]) << 48;
  549. ^~~~
  550. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:311:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  551. case 7: k1 ^= ((uint64_t)tail[ 6]) << 48;
  552. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  553. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:312:3: huom: here
  554. case 6: k1 ^= ((uint64_t)tail[ 5]) << 40;
  555. ^~~~
  556. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:312:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  557. case 6: k1 ^= ((uint64_t)tail[ 5]) << 40;
  558. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  559. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:313:3: huom: here
  560. case 5: k1 ^= ((uint64_t)tail[ 4]) << 32;
  561. ^~~~
  562. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:313:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  563. case 5: k1 ^= ((uint64_t)tail[ 4]) << 32;
  564. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  565. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:314:3: huom: here
  566. case 4: k1 ^= ((uint64_t)tail[ 3]) << 24;
  567. ^~~~
  568. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:314:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  569. case 4: k1 ^= ((uint64_t)tail[ 3]) << 24;
  570. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  571. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:315:3: huom: here
  572. case 3: k1 ^= ((uint64_t)tail[ 2]) << 16;
  573. ^~~~
  574. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:315:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  575. case 3: k1 ^= ((uint64_t)tail[ 2]) << 16;
  576. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  577. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:316:3: huom: here
  578. case 2: k1 ^= ((uint64_t)tail[ 1]) << 8;
  579. ^~~~
  580. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:316:15: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  581. case 2: k1 ^= ((uint64_t)tail[ 1]) << 8;
  582. ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  583. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Hash/MurmurHash3.cpp:317:3: huom: here
  584. case 1: k1 ^= ((uint64_t)tail[ 0]) << 0;
  585. ^~~~
  586.  
  587.  
  588.  
  589. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Vao/OgreVaoManager.cpp: Jäsenfunktio ”void Ogre::VaoManager::callDestroyBufferImpl(Ogre::BufferPacked*)”:
  590. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Vao/OgreVaoManager.cpp:524:15: varoitus: lueteltua arvoa ”NUM_BUFFER_PACKED_TYPES” ei käsitellä switch-lauseessa [-Wswitch]
  591. switch( bufferPacked->getBufferPackedType() )
  592. ^
  593.  
  594.  
  595.  
  596. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/Math/Array/SSE2/Single/OgreMathlibSSE2.cpp:38:
  597. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h: Funktio ”v4sf log_ps(v4sf)”:
  598. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:174:22: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  599. v4sf one = *(v4sf*)_ps_1;
  600. ^~~~~
  601. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:178:29: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  602. x = _mm_max_ps(x, *(v4sf*)_ps_min_norm_pos); /* cut off denormalized stuff */
  603. ^~~~~~~~~~~~~~~~
  604. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:189:29: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  605. x = _mm_and_ps(x, *(v4sf*)_ps_inv_mant_mask);
  606. ^~~~~~~~~~~~~~~~~
  607. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:190:28: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  608. x = _mm_or_ps(x, *(v4sf*)_ps_0p5);
  609. ^~~~~~~
  610. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:199:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  611. emm0 = _mm_sub_epi32(emm0, *(v4si*)_pi32_0x7f);
  612. ^~~~~~~~~~
  613. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:211:39: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  614. v4sf mask = _mm_cmplt_ps(x, *(v4sf*)_ps_cephes_SQRTHF);
  615. ^~~~~~~~~~~~~~~~~
  616. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:220:20: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  617. v4sf y = *(v4sf*)_ps_cephes_log_p0;
  618. ^~~~~~~~~~~~~~~~~
  619. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:222:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  620. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_log_p1);
  621. ^~~~~~~~~~~~~~~~~
  622. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:224:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  623. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_log_p2);
  624. ^~~~~~~~~~~~~~~~~
  625. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:226:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  626. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_log_p3);
  627. ^~~~~~~~~~~~~~~~~
  628. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:228:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  629. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_log_p4);
  630. ^~~~~~~~~~~~~~~~~
  631. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:230:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  632. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_log_p5);
  633. ^~~~~~~~~~~~~~~~~
  634. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:232:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  635. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_log_p6);
  636. ^~~~~~~~~~~~~~~~~
  637. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:234:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  638. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_log_p7);
  639. ^~~~~~~~~~~~~~~~~
  640. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:236:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  641. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_log_p8);
  642. ^~~~~~~~~~~~~~~~~
  643. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:242:31: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  644. tmp = _mm_mul_ps(e, *(v4sf*)_ps_cephes_log_q1);
  645. ^~~~~~~~~~~~~~~~~
  646. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:246:31: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  647. tmp = _mm_mul_ps(z, *(v4sf*)_ps_0p5);
  648. ^~~~~~~
  649. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:249:31: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  650. tmp = _mm_mul_ps(e, *(v4sf*)_ps_cephes_log_q2);
  651. ^~~~~~~~~~~~~~~~~
  652. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h: Funktio ”v4sf exp_ps(v4sf)”:
  653. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:277:22: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  654. v4sf one = *(v4sf*)_ps_1;
  655. ^~~~~
  656. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:279:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  657. x = _mm_min_ps(x, *(v4sf*)_ps_exp_hi);
  658. ^~~~~~~~~~
  659. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:280:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  660. x = _mm_max_ps(x, *(v4sf*)_ps_exp_lo);
  661. ^~~~~~~~~~
  662. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:283:30: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  663. fx = _mm_mul_ps(x, *(v4sf*)_ps_cephes_LOG2EF);
  664. ^~~~~~~~~~~~~~~~~
  665. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:284:31: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  666. fx = _mm_add_ps(fx, *(v4sf*)_ps_0p5);
  667. ^~~~~~~
  668. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:303:32: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  669. tmp = _mm_mul_ps(fx, *(v4sf*)_ps_cephes_exp_C1);
  670. ^~~~~~~~~~~~~~~~~
  671. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:304:35: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  672. v4sf z = _mm_mul_ps(fx, *(v4sf*)_ps_cephes_exp_C2);
  673. ^~~~~~~~~~~~~~~~~
  674. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:310:20: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  675. v4sf y = *(v4sf*)_ps_cephes_exp_p0;
  676. ^~~~~~~~~~~~~~~~~
  677. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:312:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  678. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_exp_p1);
  679. ^~~~~~~~~~~~~~~~~
  680. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:314:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  681. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_exp_p2);
  682. ^~~~~~~~~~~~~~~~~
  683. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:316:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  684. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_exp_p3);
  685. ^~~~~~~~~~~~~~~~~
  686. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:318:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  687. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_exp_p4);
  688. ^~~~~~~~~~~~~~~~~
  689. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:320:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  690. y = _mm_add_ps(y, *(v4sf*)_ps_cephes_exp_p5);
  691. ^~~~~~~~~~~~~~~~~
  692. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:340:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  693. emm0 = _mm_add_epi32(emm0, *(v4si*)_pi32_0x7f);
  694. ^~~~~~~~~~
  695. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h: Funktio ”v4sf sin_ps(v4sf)”:
  696. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:398:29: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  697. x = _mm_and_ps(x, *(v4sf*)_ps_inv_sign_mask);
  698. ^~~~~~~~~~~~~~~~~
  699. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:400:43: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  700. sign_bit = _mm_and_ps(sign_bit, *(v4sf*)_ps_sign_mask);
  701. ^~~~~~~~~~~~~
  702. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:403:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  703. y = _mm_mul_ps(x, *(v4sf*)_ps_cephes_FOPI);
  704. ^~~~~~~~~~~~~~~
  705. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:410:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  706. emm2 = _mm_add_epi32(emm2, *(v4si*)_pi32_1);
  707. ^~~~~~~
  708. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:411:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  709. emm2 = _mm_and_si128(emm2, *(v4si*)_pi32_inv1);
  710. ^~~~~~~~~~
  711. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:414:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  712. emm0 = _mm_and_si128(emm2, *(v4si*)_pi32_4);
  713. ^~~~~~~
  714. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:422:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  715. emm2 = _mm_and_si128(emm2, *(v4si*)_pi32_2);
  716. ^~~~~~~
  717. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:458:18: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  718. xmm1 = *(v4sf*)_ps_minus_cephes_DP1;
  719. ^~~~~~~~~~~~~~~~~~~~
  720. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:459:18: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  721. xmm2 = *(v4sf*)_ps_minus_cephes_DP2;
  722. ^~~~~~~~~~~~~~~~~~~~
  723. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:460:18: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  724. xmm3 = *(v4sf*)_ps_minus_cephes_DP3;
  725. ^~~~~~~~~~~~~~~~~~~~
  726. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:469:15: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  727. y = *(v4sf*)_ps_coscof_p0;
  728. ^~~~~~~~~~~~~
  729. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:473:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  730. y = _mm_add_ps(y, *(v4sf*)_ps_coscof_p1);
  731. ^~~~~~~~~~~~~
  732. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:475:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  733. y = _mm_add_ps(y, *(v4sf*)_ps_coscof_p2);
  734. ^~~~~~~~~~~~~
  735. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:478:36: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  736. v4sf tmp = _mm_mul_ps(z, *(v4sf*)_ps_0p5);
  737. ^~~~~~~
  738. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:480:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  739. y = _mm_add_ps(y, *(v4sf*)_ps_1);
  740. ^~~~~
  741. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:484:21: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  742. v4sf y2 = *(v4sf*)_ps_sincof_p0;
  743. ^~~~~~~~~~~~~
  744. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:486:31: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  745. y2 = _mm_add_ps(y2, *(v4sf*)_ps_sincof_p1);
  746. ^~~~~~~~~~~~~
  747. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:488:31: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  748. y2 = _mm_add_ps(y2, *(v4sf*)_ps_sincof_p2);
  749. ^~~~~~~~~~~~~
  750. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h: Funktio ”v4sf cos_ps(v4sf)”:
  751. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:513:29: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  752. x = _mm_and_ps(x, *(v4sf*)_ps_inv_sign_mask);
  753. ^~~~~~~~~~~~~~~~~
  754. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:516:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  755. y = _mm_mul_ps(x, *(v4sf*)_ps_cephes_FOPI);
  756. ^~~~~~~~~~~~~~~
  757. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:522:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  758. emm2 = _mm_add_epi32(emm2, *(v4si*)_pi32_1);
  759. ^~~~~~~
  760. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:523:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  761. emm2 = _mm_and_si128(emm2, *(v4si*)_pi32_inv1);
  762. ^~~~~~~~~~
  763. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:526:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  764. emm2 = _mm_sub_epi32(emm2, *(v4si*)_pi32_2);
  765. ^~~~~~~
  766. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:529:41: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  767. emm0 = _mm_andnot_si128(emm2, *(v4si*)_pi32_4);
  768. ^~~~~~~
  769. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:532:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  770. emm2 = _mm_and_si128(emm2, *(v4si*)_pi32_2);
  771. ^~~~~~~
  772. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:576:18: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  773. xmm1 = *(v4sf*)_ps_minus_cephes_DP1;
  774. ^~~~~~~~~~~~~~~~~~~~
  775. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:577:18: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  776. xmm2 = *(v4sf*)_ps_minus_cephes_DP2;
  777. ^~~~~~~~~~~~~~~~~~~~
  778. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:578:18: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  779. xmm3 = *(v4sf*)_ps_minus_cephes_DP3;
  780. ^~~~~~~~~~~~~~~~~~~~
  781. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:587:15: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  782. y = *(v4sf*)_ps_coscof_p0;
  783. ^~~~~~~~~~~~~
  784. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:591:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  785. y = _mm_add_ps(y, *(v4sf*)_ps_coscof_p1);
  786. ^~~~~~~~~~~~~
  787. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:593:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  788. y = _mm_add_ps(y, *(v4sf*)_ps_coscof_p2);
  789. ^~~~~~~~~~~~~
  790. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:596:36: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  791. v4sf tmp = _mm_mul_ps(z, *(v4sf*)_ps_0p5);
  792. ^~~~~~~
  793. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:598:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  794. y = _mm_add_ps(y, *(v4sf*)_ps_1);
  795. ^~~~~
  796. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:602:21: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  797. v4sf y2 = *(v4sf*)_ps_sincof_p0;
  798. ^~~~~~~~~~~~~
  799. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:604:31: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  800. y2 = _mm_add_ps(y2, *(v4sf*)_ps_sincof_p1);
  801. ^~~~~~~~~~~~~
  802. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:606:31: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  803. y2 = _mm_add_ps(y2, *(v4sf*)_ps_sincof_p2);
  804. ^~~~~~~~~~~~~
  805. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h: Funktio ”void sincos_ps(v4sf, v4sf*, v4sf*)”:
  806. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:633:29: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  807. x = _mm_and_ps(x, *(v4sf*)_ps_inv_sign_mask);
  808. ^~~~~~~~~~~~~~~~~
  809. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:635:51: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  810. sign_bit_sin = _mm_and_ps(sign_bit_sin, *(v4sf*)_ps_sign_mask);
  811. ^~~~~~~~~~~~~
  812. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:638:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  813. y = _mm_mul_ps(x, *(v4sf*)_ps_cephes_FOPI);
  814. ^~~~~~~~~~~~~~~
  815. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:645:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  816. emm2 = _mm_add_epi32(emm2, *(v4si*)_pi32_1);
  817. ^~~~~~~
  818. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:646:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  819. emm2 = _mm_and_si128(emm2, *(v4si*)_pi32_inv1);
  820. ^~~~~~~~~~
  821. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:652:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  822. emm0 = _mm_and_si128(emm2, *(v4si*)_pi32_4);
  823. ^~~~~~~
  824. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:657:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  825. emm2 = _mm_and_si128(emm2, *(v4si*)_pi32_2);
  826. ^~~~~~~
  827. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:697:18: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  828. xmm1 = *(v4sf*)_ps_minus_cephes_DP1;
  829. ^~~~~~~~~~~~~~~~~~~~
  830. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:698:18: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  831. xmm2 = *(v4sf*)_ps_minus_cephes_DP2;
  832. ^~~~~~~~~~~~~~~~~~~~
  833. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:699:18: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  834. xmm3 = *(v4sf*)_ps_minus_cephes_DP3;
  835. ^~~~~~~~~~~~~~~~~~~~
  836. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:708:38: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  837. emm4 = _mm_sub_epi32(emm4, *(v4si*)_pi32_2);
  838. ^~~~~~~
  839. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:709:41: varoitus: tyyppimuunnos tyypistä ”const int*” tyyppiin ”v4si*” {aka ”__vector(2) long long int*”} hylkää määreet [-Wcast-qual]
  840. emm4 = _mm_andnot_si128(emm4, *(v4si*)_pi32_4);
  841. ^~~~~~~
  842. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:730:15: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  843. y = *(v4sf*)_ps_coscof_p0;
  844. ^~~~~~~~~~~~~
  845. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:733:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  846. y = _mm_add_ps(y, *(v4sf*)_ps_coscof_p1);
  847. ^~~~~~~~~~~~~
  848. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:735:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  849. y = _mm_add_ps(y, *(v4sf*)_ps_coscof_p2);
  850. ^~~~~~~~~~~~~
  851. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:738:36: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  852. v4sf tmp = _mm_mul_ps(z, *(v4sf*)_ps_0p5);
  853. ^~~~~~~
  854. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:740:29: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  855. y = _mm_add_ps(y, *(v4sf*)_ps_1);
  856. ^~~~~
  857. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:744:21: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  858. v4sf y2 = *(v4sf*)_ps_sincof_p0;
  859. ^~~~~~~~~~~~~
  860. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:746:31: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  861. y2 = _mm_add_ps(y2, *(v4sf*)_ps_sincof_p1);
  862. ^~~~~~~~~~~~~
  863. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Math/Array/SSE2/Single/sse_mathfun.h:748:31: varoitus: tyyppimuunnos tyypistä ”const float*” tyyppiin ”v4sf*” {aka ”__vector(4) float*”} hylkää määreet [-Wcast-qual]
  864. y2 = _mm_add_ps(y2, *(v4sf*)_ps_sincof_p2);
  865. ^~~~~~~~~~~~~
  866.  
  867.  
  868.  
  869. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreDDSCodec.cpp: Jäsenfunktio ”virtual void Ogre::DDSCodec::encodeToFile(Ogre::MemoryDataStreamPtr&, const String&, Ogre::Codec::CodecDataPtr&) const”:
  870. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreDDSCodec.cpp:305:30: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  871. flipRgbMasks = true;
  872. ~~~~~~~~~~~~~^~~~~~
  873. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreDDSCodec.cpp:306:13: huom: here
  874. case PF_A8R8G8B8:
  875. ^~~~
  876. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreDDSCodec.cpp:311:30: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  877. flipRgbMasks = true;
  878. ~~~~~~~~~~~~~^~~~~~
  879. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreDDSCodec.cpp:312:13: huom: here
  880. case PF_X8R8G8B8:
  881. ^~~~
  882.  
  883.  
  884.  
  885. CMakeFiles/OgreMain.dir/src/OgreDeflate.cpp.o: Funktiossa ”Ogre::DeflateStream::init()”:
  886. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/src/OgreDeflate.cpp:161: varoitus: the use of `tmpnam' is dangerous, better use `mkstemp'
  887.  
  888.  
  889.  
  890.  
  891. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp: Jäsenfunktio ”GLint Ogre::GL3PlusRenderSystem::convertCompareFunction(Ogre::CompareFunction) const”:
  892. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp:3541:15: varoitus: lueteltua arvoa ”NUM_COMPARE_FUNCTIONS” ei käsitellä switch-lauseessa [-Wswitch]
  893. switch(func)
  894. ^
  895. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp: Jäsenfunktio ”virtual void Ogre::GL3PlusRenderSystem::_hlmsSamplerblockCreated(Ogre::HlmsSamplerblock*)”:
  896. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp:1794:34: varoitus: ”minFilter” may be used uninitialized in this function [-Wmaybe-uninitialized]
  897. OCGE( glSamplerParameteri( samplerName, GL_TEXTURE_MIN_FILTER, minFilter ) );
  898. ^
  899.  
  900.  
  901.  
  902. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/GL3Plus/src/Vao/OgreGL3PlusVaoManager.cpp: Jäsenfunktio ”virtual Ogre::TexBufferPacked* Ogre::GL3PlusVaoManager::createTexBufferImpl(Ogre::PixelFormat, size_t, Ogre::BufferType, void*, bool)”:
  903. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/GL3Plus/src/Vao/OgreGL3PlusVaoManager.cpp:600:23: varoitus: operaatio ”sizeBytes”:lle voi olla määrittelemätön [-Wsequence-point]
  904. sizeBytes = sizeBytes = alignToNextMultiple( sizeBytes, maxTexSizeBytes );
  905. ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  906.  
  907.  
  908.  
  909.  
  910. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/NULL/src/Vao/OgreNULLVaoManager.cpp: Jäsenfunktio ”virtual Ogre::TexBufferPacked* Ogre::NULLVaoManager::createTexBufferImpl(Ogre::PixelFormat, size_t, Ogre::BufferType, void*, bool)”:
  911. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/NULL/src/Vao/OgreNULLVaoManager.cpp:168:17: varoitus: unused variable ”vboFlag” [-Wunused-variable]
  912. VboFlag vboFlag = bufferTypeToVboFlag( bufferType );
  913. ^~~~~~~
  914. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/NULL/src/Vao/OgreNULLVaoManager.cpp: Jäsenfunktio ”virtual Ogre::IndirectBufferPacked* Ogre::NULLVaoManager::createIndirectBufferImpl(size_t, Ogre::BufferType, void*, bool)”:
  915. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/NULL/src/Vao/OgreNULLVaoManager.cpp:221:16: varoitus: unused variable ”bufferOffset” [-Wunused-variable]
  916. size_t bufferOffset = 0;
  917. ^~~~~~~~~~~~
  918.  
  919.  
  920.  
  921.  
  922. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/NULL/src/Vao/OgreOgreNULLBufferInterface.cpp: Jäsenfunktio ”virtual void* Ogre::NULLBufferInterface::map(size_t, size_t, Ogre::MappingState, bool)”:
  923. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/RenderSystems/NULL/src/Vao/OgreOgreNULLBufferInterface.cpp:81:20: varoitus: variable ”length” set but not used [-Wunused-but-set-variable]
  924. size_t length = elementCount;
  925. ^~~~~~
  926.  
  927.  
  928.  
  929. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStdHeaders.h:40,
  930. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePrerequisites.h:428,
  931. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStringVector.h:31,
  932. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlms.h:31,
  933. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/PbsMobile/include/OgreHlmsPbsMobile.h:32,
  934. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/PbsMobile/src/OgreHlmsPbsMobile.cpp:31:
  935. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::reserve(size_t) [with T = Ogre::SharedPtr<Ogre::Texture>; size_t = long unsigned int]”:
  936. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/PbsMobile/src/OgreHlmsPbsMobile.cpp:804:61: required from here
  937. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:291:23: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of type ”class Ogre::SharedPtr<Ogre::Texture>” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  938. memcpy( data, mData, mSize * sizeof(T) );
  939. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  940. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStringVector.h:32,
  941. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlms.h:31,
  942. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/PbsMobile/include/OgreHlmsPbsMobile.h:32,
  943. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/PbsMobile/src/OgreHlmsPbsMobile.cpp:31:
  944. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSharedPtr.h:117:29: huom: ”class Ogre::SharedPtr<Ogre::Texture>” declared here
  945. template<class T> class SharedPtr
  946. ^~~~~~~~~
  947. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStdHeaders.h:40,
  948. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePrerequisites.h:428,
  949. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStringVector.h:31,
  950. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlms.h:31,
  951. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/PbsMobile/include/OgreHlmsPbsMobile.h:32,
  952. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/PbsMobile/src/OgreHlmsPbsMobile.cpp:31:
  953. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::growToFit(size_t) [with T = Ogre::SharedPtr<Ogre::Texture>; size_t = long unsigned int]”:
  954. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:184:13: required from ”void Ogre::FastArray<T>::push_back(const T&) [with T = Ogre::SharedPtr<Ogre::Texture>]”
  955. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/PbsMobile/src/OgreHlmsPbsMobile.cpp:806:99: required from here
  956. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:87:27: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of type ”class Ogre::SharedPtr<Ogre::Texture>” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  957. memcpy( data, mData, mSize * sizeof(T) );
  958. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  959. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStringVector.h:32,
  960. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlms.h:31,
  961. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/PbsMobile/include/OgreHlmsPbsMobile.h:32,
  962. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/PbsMobile/src/OgreHlmsPbsMobile.cpp:31:
  963. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSharedPtr.h:117:29: huom: ”class Ogre::SharedPtr<Ogre::Texture>” declared here
  964. template<class T> class SharedPtr
  965. ^~~~~~~~~
  966.  
  967.  
  968.  
  969.  
  970. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/OgreHlmsPbs.cpp: Jäsenfunktio ”virtual const Ogre::HlmsCache* Ogre::HlmsPbs::createShaderCacheEntry(Ogre::uint32, const Ogre::HlmsCache&, Ogre::uint32, const Ogre::QueuedRenderable&)”:
  971. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/OgreHlmsPbs.cpp:456:37: varoitus: unused variable ”datablock” [-Wunused-variable]
  972. const HlmsPbsDatablock *datablock = static_cast<const HlmsPbsDatablock*>(
  973. ^~~~~~~~~
  974. [ 89%] Building CXX object Components/Hlms/Pbs/CMakeFiles/OgreHlmsPbs.dir/src/OgreHlmsPbsDatablock.cpp.o
  975. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsCommon.h:35,
  976. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsDatablock.h:32,
  977. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/include/OgreHlmsPbsDatablock.h:32,
  978. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/OgreHlmsPbsDatablock.cpp:31:
  979. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h: Jäsenfunktio ”void Ogre::HlmsPso::initialize()”:
  980. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h:206:51: varoitus: ”void* memset(void*, int, size_t)” clearing an object of non-trivial type ”struct Ogre::HlmsPassPso”; use assignment or value-initialization instead [-Wclass-memaccess]
  981. memset( &pass, 0, sizeof(HlmsPassPso) );
  982. ^
  983. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreHlmsPso.h:101:12: huom: ”struct Ogre::HlmsPassPso” declared here
  984. struct HlmsPassPso
  985. ^~~~~~~~~~~
  986. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStdHeaders.h:40,
  987. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePrerequisites.h:428,
  988. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/include/OgreHlmsPbsPrerequisites.h:31,
  989. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/include/OgreHlmsPbsDatablock.h:31,
  990. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/OgreHlmsPbsDatablock.cpp:31:
  991. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::growToFit(size_t) [with T = Ogre::PbsBakedTexture; size_t = long unsigned int]”:
  992. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:184:13: required from ”void Ogre::FastArray<T>::push_back(const T&) [with T = Ogre::PbsBakedTexture]”
  993. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/OgreHlmsPbsDatablock.cpp.inc:63:72: required from here
  994. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:87:27: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of type ”struct Ogre::PbsBakedTexture” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  995. memcpy( data, mData, mSize * sizeof(T) );
  996. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  997. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/OgreHlmsPbsDatablock.cpp:31:
  998. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/include/OgreHlmsPbsDatablock.h:56:12: huom: ”struct Ogre::PbsBakedTexture” declared here
  999. struct PbsBakedTexture
  1000. ^~~~~~~~~~~~~~~
  1001.  
  1002.  
  1003.  
  1004.  
  1005. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/Cubemaps/OgreParallaxCorrectedCubemap.cpp: Jäsenfunktio ”void Ogre::ParallaxCorrectedCubemap::createProxyGeometry()”:
  1006. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/Cubemaps/OgreParallaxCorrectedCubemap.cpp:359:83: varoitus: tyyppimuunnos tyypistä ”const Ogre::Vector3*” tyyppiin ”void*” hylkää määreet [-Wcast-qual]
  1007. (void*)c_vertices, false );
  1008. ^~~~~~~~~~
  1009. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/Cubemaps/OgreParallaxCorrectedCubemap.cpp:362:80: varoitus: tyyppimuunnos tyypistä ”const uint16*” {aka ”const short unsigned int*”} tyyppiin ”void*” hylkää määreet [-Wcast-qual]
  1010. (void*)c_indexData, false );
  1011. ^~~~~~~~~~~
  1012.  
  1013.  
  1014.  
  1015.  
  1016. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/InstantRadiosity/OgreInstantRadiosity.cpp: Jäsenfunktio ”void Ogre::InstantRadiosity::testLightVsAllObjects(Ogre::uint8, Ogre::Real, Ogre::ObjectData, size_t, const Ogre::InstantRadiosity::AreaOfInterest&, size_t, size_t)”:
  1017. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/InstantRadiosity/OgreInstantRadiosity.cpp:1141:68: varoitus: ”void* memset(void*, int, size_t)” clearing an object of type ”struct Ogre::InstantRadiosity::MaterialData” with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  1018. memset( &material, 0, sizeof(material) );
  1019. ^
  1020. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/InstantRadiosity/OgreInstantRadiosity.cpp:31:
  1021. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/include/InstantRadiosity/OgreInstantRadiosity.h:71:16: huom: ”struct Ogre::InstantRadiosity::MaterialData” declared here
  1022. struct MaterialData
  1023. ^~~~~~~~~~~~
  1024. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStdHeaders.h:40,
  1025. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePrerequisites.h:428,
  1026. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/include/OgreHlmsPbsPrerequisites.h:31,
  1027. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/include/InstantRadiosity/OgreInstantRadiosity.h:31,
  1028. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/InstantRadiosity/OgreInstantRadiosity.cpp:31:
  1029. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::growToFit(size_t) [with T = Ogre::VertexArrayObject::ReadRequests; size_t = long unsigned int]”:
  1030. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:184:13: required from ”void Ogre::FastArray<T>::push_back(const T&) [with T = Ogre::VertexArrayObject::ReadRequests]”
  1031. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/InstantRadiosity/OgreInstantRadiosity.cpp:765:50: required from here
  1032. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:87:27: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of type ”struct Ogre::VertexArrayObject::ReadRequests” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  1033. memcpy( data, mData, mSize * sizeof(T) );
  1034. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1035. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreManualObject2.h:39,
  1036. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSceneManager.h:48,
  1037. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreSceneManagerEnumerator.h:33,
  1038. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreRoot.h:34,
  1039. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/include/OgreHlmsPbs.h:36,
  1040. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Pbs/src/InstantRadiosity/OgreInstantRadiosity.cpp:34:
  1041. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/Vao/OgreVertexArrayObject.h:180:16: huom: ”struct Ogre::VertexArrayObject::ReadRequests” declared here
  1042. struct ReadRequests
  1043. ^~~~~~~~~~~~
  1044.  
  1045.  
  1046.  
  1047.  
  1048. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreStdHeaders.h:40,
  1049. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgrePrerequisites.h:428,
  1050. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Unlit/include/OgreHlmsUnlitPrerequisites.h:31,
  1051. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Unlit/include/OgreHlmsUnlitDatablock.h:31,
  1052. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Unlit/src/OgreHlmsUnlitDatablock.cpp:31:
  1053. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h: In instantiation of ”void Ogre::FastArray<T>::growToFit(size_t) [with T = Ogre::UnlitBakedTexture; size_t = long unsigned int]”:
  1054. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:184:13: required from ”void Ogre::FastArray<T>::push_back(const T&) [with T = Ogre::UnlitBakedTexture]”
  1055. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Unlit/src/OgreHlmsUnlitDatablock.cpp.inc:48:72: required from here
  1056. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/OgreMain/include/OgreFastArray.h:87:27: varoitus: ”void* memcpy(void*, const void*, size_t)” writing to an object of type ”struct Ogre::UnlitBakedTexture” with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  1057. memcpy( data, mData, mSize * sizeof(T) );
  1058. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1059. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Unlit/src/OgreHlmsUnlitDatablock.cpp:31:
  1060. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/Hlms/Unlit/include/OgreHlmsUnlitDatablock.h:47:12: huom: ”struct Ogre::UnlitBakedTexture” declared here
  1061. struct UnlitBakedTexture
  1062. ^~~~~~~~~~~~~~~~~
  1063.  
  1064.  
  1065.  
  1066.  
  1067. In file included from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/MeshLodGenerator/include/OgreLodInputProvider.h:34,
  1068. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/MeshLodGenerator/include/OgreLodInputProviderMesh.h:34,
  1069. from /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/MeshLodGenerator/src/OgreLodInputProviderMesh.cpp:29:
  1070. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/MeshLodGenerator/include/OgreLodData.h: Jäsenfunktio ”void Ogre::LodInputProviderMesh::addVertexData(Ogre::LodData*, Ogre::v1::VertexData*, bool)”:
  1071. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Components/MeshLodGenerator/include/OgreLodData.h:99:16: varoitus: ”<anonymous>.Ogre::LodData::Vertex::position”:a saatetaan käyttää alustamattomana tässä funktiossa [-Wmaybe-uninitialized]
  1072. struct Vertex
  1073. ^~~~~~
  1074.  
  1075.  
  1076.  
  1077.  
  1078. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Tools/MeshTool/src/main.cpp: Funktio ”Ogre::DataStreamPtr openFile(Ogre::String)”:
  1079. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Tools/MeshTool/src/main.cpp:901:16: varoitus: comparison of integer expressions of different signedness: ”size_t” {aka ”long unsigned int”} and ”__off_t” {aka ”long int”} [-Wsign-compare]
  1080. if (result != tagStat.st_size)
  1081. ~~~~~~~^~~~~~~~~~~~~~~~~~
  1082. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Tools/MeshTool/src/main.cpp: Funktio ”void checkColour(Ogre::v1::VertexData*, bool&, bool&, Ogre::VertexElementType&)”:
  1083. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Tools/MeshTool/src/main.cpp:762:32: varoitus: this statement may fall through [-Wimplicit-fallthrough=]
  1084. hasAmbiguousColour = true;
  1085. ~~~~~~~~~~~~~~~~~~~^~~~~~
  1086. /home/hhyyrylainen/Projects/Leviathan/ThirdParty/ogre/Tools/MeshTool/src/main.cpp:764:9: huom: here
  1087. case VET_COLOUR_ABGR:
  1088. ^~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement