Page 1 of 1

Problems compiling with Code:Blocks (Win)

Posted: Wed Oct 03, 2012 2:56 pm
by Hyperkubus
Hello,

I have problems compiling the DLL in Code:Blocks with mingw 4.7.0
Irrlicht comes from the svn.
Operating sytem is Win7 Prof 64bit

I get a lot of Warnings and 6 Errors:
-------------- Build: Win32 - Release - accurate math - dll in Irrlicht ---------------
 
Compiling: C3DSMeshFileLoader.cpp
Compiling: CAnimatedMeshHalfLife.cpp
Compiling: CAnimatedMeshMD2.cpp
Compiling: CAnimatedMeshMD3.cpp
Compiling: CAnimatedMeshSceneNode.cpp
Compiling: CAttributes.cpp
Compiling: CB3DMeshFileLoader.cpp
Compiling: CBSPMeshFileLoader.cpp
Compiling: CBillboardSceneNode.cpp
Compiling: CBoneSceneNode.cpp
Compiling: CBurningShader_Raster_Reference.cpp
C:\Projects\irrlicht\source\Irrlicht\CBurningShader_Raster_Reference.cpp: In member function 'void irr::video::CBurningShader_Raster_Reference::scanline()':
C:\Projects\irrlicht\source\Irrlicht\CBurningShader_Raster_Reference.cpp:781:7: warning: variable 'condition' set but not used [-Wunused-but-set-variable]
Compiling: CCSMLoader.cpp
Compiling: CCameraSceneNode.cpp
Compiling: CCgMaterialRenderer.cpp
Compiling: CColladaFileLoader.cpp
C:\Projects\irrlicht\source\Irrlicht\CColladaFileLoader.cpp: In member function 'void irr::scene::CColladaFileLoader::readPolygonSection(irr::io::IXMLReaderUTF8*, irr::core::array<irr::scene::SSource>&, irr::scene::SMesh*, const stringc&)':
C:\Projects\irrlicht\source\Irrlicht\CColladaFileLoader.cpp:1920:7: warning: variable 'unresolvedInput' set but not used [-Wunused-but-set-variable]
Compiling: CColladaMeshWriter.cpp
Compiling: CColorConverter.cpp
C:\Projects\irrlicht\source\Irrlicht\CColorConverter.cpp: In static member function 'static void irr::video::CColorConverter::convert_viaFormat(const void*, irr::video::ECOLOR_FORMAT, irr::s32, void*, irr::video::ECOLOR_FORMAT)':
C:\Projects\irrlicht\source\Irrlicht\CColorConverter.cpp:614:9: warning: enumeration value 'ECF_R16F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CColorConverter.cpp:614:9: warning: enumeration value 'ECF_G16R16F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CColorConverter.cpp:614:9: warning: enumeration value 'ECF_A16B16G16R16F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CColorConverter.cpp:614:9: warning: enumeration value 'ECF_R32F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CColorConverter.cpp:614:9: warning: enumeration value 'ECF_G32R32F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CColorConverter.cpp:614:9: warning: enumeration value 'ECF_A32B32G32R32F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CColorConverter.cpp:614:9: warning: enumeration value 'ECF_UNKNOWN' not handled in switch [-Wswitch]
Compiling: CCubeSceneNode.cpp
Compiling: CD3D8Driver.cpp
Compiling: CD3D8NormalMapRenderer.cpp
Compiling: CD3D8ParallaxMapRenderer.cpp
Compiling: CD3D8ShaderMaterialRenderer.cpp
Compiling: CD3D8Texture.cpp
Compiling: CD3D9CgMaterialRenderer.cpp
Compiling: CD3D9Driver.cpp
Compiling: CD3D9HLSLMaterialRenderer.cpp
Compiling: CD3D9NormalMapRenderer.cpp
Compiling: CD3D9ParallaxMapRenderer.cpp
Compiling: CD3D9ShaderMaterialRenderer.cpp
Compiling: CD3D9Texture.cpp
Compiling: CDMFLoader.cpp
Compiling: CDefaultGUIElementFactory.cpp
Compiling: CDefaultSceneNodeAnimatorFactory.cpp
Compiling: CDefaultSceneNodeFactory.cpp
Compiling: CDepthBuffer.cpp
Compiling: CDummyTransformationSceneNode.cpp
Compiling: CEmptySceneNode.cpp
Compiling: CFPSCounter.cpp
Compiling: CFileList.cpp
Compiling: CFileSystem.cpp
Compiling: CGUIButton.cpp
Compiling: CGUICheckBox.cpp
Compiling: CGUIColorSelectDialog.cpp
Compiling: CGUIComboBox.cpp
Compiling: CGUIContextMenu.cpp
Compiling: CGUIEditBox.cpp
Compiling: CGUIEnvironment.cpp
Compiling: CGUIFileOpenDialog.cpp
Compiling: CGUIFont.cpp
Compiling: CGUIImage.cpp
Compiling: CGUIImageList.cpp
Compiling: CGUIInOutFader.cpp
Compiling: CGUIListBox.cpp
Compiling: CGUIMenu.cpp
Compiling: CGUIMeshViewer.cpp
Compiling: CGUIMessageBox.cpp
Compiling: CGUIModalScreen.cpp
Compiling: CGUIScrollBar.cpp
Compiling: CGUISkin.cpp
Compiling: CGUISpinBox.cpp
Compiling: CGUISpriteBank.cpp
Compiling: CGUIStaticText.cpp
Compiling: CGUITabControl.cpp
Compiling: CGUITable.cpp
Compiling: CGUIToolBar.cpp
Compiling: CGUITreeView.cpp
Compiling: CGUIWindow.cpp
Compiling: CGeometryCreator.cpp
Compiling: CImage.cpp
In file included from C:\Projects\irrlicht\source\Irrlicht\CImage.cpp:8:0:
C:\Projects\irrlicht\source\Irrlicht\CBlit.h:1182:12: warning: 'irr::s32 irr::StretchBlit(irr::eBlitter, irr::video::IImage*, const irr::core::rect<int>*, const irr::core::rect<int>*, irr::video::IImage*, irr::u32)' defined but not used [-Wunused-function]
C:\Projects\irrlicht\source\Irrlicht\CBlit.h:1239:13: warning: 'void irr::drawRectangle(irr::video::IImage*, const irr::core::rect<int>&, const irr::video::SColor&)' defined but not used [-Wunused-function]
C:\Projects\irrlicht\source\Irrlicht\CBlit.h:1247:13: warning: 'void irr::drawLine(irr::video::IImage*, const irr::core::vector2d<int>&, const irr::core::vector2d<int>&, const irr::video::SColor&)' defined but not used [-Wunused-function]
Compiling: CImageLoaderBMP.cpp
Compiling: CImageLoaderDDS.cpp
Compiling: CImageLoaderJPG.cpp
Compiling: CImageLoaderPCX.cpp
Compiling: CImageLoaderPNG.cpp
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderPNG.cpp: In member function 'virtual irr::video::IImage* irr::video::CImageLoaderPng::loadImage(irr::io::IReadFile*) const':
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderPNG.cpp:95:17: warning: variable 'image' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
Compiling: CImageLoaderPPM.cpp
Compiling: CImageLoaderPSD.cpp
Compiling: CImageLoaderRGB.cpp
Compiling: CImageLoaderTGA.cpp
Compiling: CImageLoaderWAL.cpp
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderWAL.cpp: In member function 'virtual irr::video::IImage* irr::video::CImageLoaderWAL2::loadImage(irr::io::IReadFile*) const':
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderWAL.cpp:209:9: warning: enumeration value 'ECF_A1R5G5B5' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderWAL.cpp:209:9: warning: enumeration value 'ECF_R5G6B5' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderWAL.cpp:209:9: warning: enumeration value 'ECF_R16F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderWAL.cpp:209:9: warning: enumeration value 'ECF_G16R16F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderWAL.cpp:209:9: warning: enumeration value 'ECF_A16B16G16R16F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderWAL.cpp:209:9: warning: enumeration value 'ECF_R32F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderWAL.cpp:209:9: warning: enumeration value 'ECF_G32R32F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderWAL.cpp:209:9: warning: enumeration value 'ECF_A32B32G32R32F' not handled in switch [-Wswitch]
C:\Projects\irrlicht\source\Irrlicht\CImageLoaderWAL.cpp:209:9: warning: enumeration value 'ECF_UNKNOWN' not handled in switch [-Wswitch]
Compiling: CImageWriterBMP.cpp
Compiling: CImageWriterJPG.cpp
Compiling: CImageWriterPCX.cpp
Compiling: CImageWriterPNG.cpp
Compiling: CImageWriterPPM.cpp
Compiling: CImageWriterPSD.cpp
Compiling: CImageWriterTGA.cpp
Compiling: CIrrDeviceConsole.cpp
Compiling: CIrrDeviceLinux.cpp
Compiling: CIrrDeviceSDL.cpp
Compiling: CIrrDeviceStub.cpp
Compiling: CIrrDeviceWin32.cpp
In file included from ..\..\include/IVideoDriver.h:9:0,
                 from ..\..\include/IrrlichtDevice.h:10,
                 from C:\Projects\irrlicht\source\Irrlicht\CIrrDeviceStub.h:8,
                 from C:\Projects\irrlicht\source\Irrlicht\CIrrDeviceWin32.h:11,
                 from C:\Projects\irrlicht\source\Irrlicht\CIrrDeviceWin32.cpp:9:
..\..\include/SColor.h: In member function 'HICON__* irr::CIrrDeviceWin32::TextureToCursor(HWND, irr::video::ITexture*, const irr::core::rect<int>&, const irr::core::vector2d<int>&)':
..\..\include/SColor.h:221:40: warning: 'pixelCol.irr::video::SColor::color' may be used uninitialized in this function [-Wmaybe-uninitialized]
C:\Projects\irrlicht\source\Irrlicht\CIrrDeviceWin32.cpp:1862:18: note: 'pixelCol.irr::video::SColor::color' was declared here
Compiling: CIrrDeviceWinCE.cpp
Compiling: CIrrMeshFileLoader.cpp
Compiling: CIrrMeshWriter.cpp
Compiling: CLMTSMeshFileLoader.cpp
Compiling: CLWOMeshFileLoader.cpp
Compiling: CLightSceneNode.cpp
Compiling: CLimitReadFile.cpp
Compiling: CLogger.cpp
Compiling: CMD2MeshFileLoader.cpp
Compiling: CMD3MeshFileLoader.cpp
Compiling: CMS3DMeshFileLoader.cpp
Compiling: CMY3DMeshFileLoader.cpp
Compiling: CMemoryFile.cpp
Compiling: CMeshCache.cpp
Compiling: CMeshManipulator.cpp
Compiling: CMeshSceneNode.cpp
Compiling: CMetaTriangleSelector.cpp
Compiling: CMountPointReader.cpp
Compiling: CNPKReader.cpp
Compiling: CNullDriver.cpp
Compiling: COBJMeshFileLoader.cpp
C:\Projects\irrlicht\source\Irrlicht\COBJMeshFileLoader.cpp: In member function 'virtual irr::scene::IAnimatedMesh* irr::scene::COBJMeshFileLoader::createMesh(irr::io::IReadFile*)':
C:\Projects\irrlicht\source\Irrlicht\COBJMeshFileLoader.cpp:78:6: warning: variable 'smoothingGroup' set but not used [-Wunused-but-set-variable]
In file included from ..\..\include/IMeshBuffer.h:11:0,
                 from ..\..\include/SSkinMeshBuffer.h:8,
                 from ..\..\include/ISkinnedMesh.h:11,
                 from ..\..\include/ISceneManager.h:21,
                 from C:\Projects\irrlicht\source\Irrlicht\COBJMeshFileLoader.h:10,
                 from C:\Projects\irrlicht\source\Irrlicht\COBJMeshFileLoader.cpp:8:
..\..\include/S3DVertex.h:85:108: warning: '*((void*)(& v)+24).irr::video::SColor::color' may be used uninitialized in this function [-Wmaybe-uninitialized]
C:\Projects\irrlicht\source\Irrlicht\COBJMeshFileLoader.cpp:189:21: note: '*((void*)(& v)+24).irr::video::SColor::color' was declared here
Compiling: COBJMeshWriter.cpp
Compiling: COCTLoader.cpp
Compiling: COSOperator.cpp
Compiling: COctreeSceneNode.cpp
Compiling: COctreeTriangleSelector.cpp
Compiling: COgreMeshFileLoader.cpp
Compiling: COpenGLCgMaterialRenderer.cpp
Compiling: COpenGLDriver.cpp
C:\Projects\irrlicht\source\Irrlicht\COpenGLDriver.cpp: In member function 'bool irr::video::COpenGLDriver::initDriver(irr::CIrrDeviceWin32*)':
C:\Projects\irrlicht\source\Irrlicht\COpenGLDriver.cpp:159:2: warning: narrowing conversion of '((((irr::video::COpenGLDriver*)this)->irr::video::COpenGLDriver::Params.irr::SIrrlichtCreationParameters::Doublebuffer ? 37 : 36) | (((irr::video::COpenGLDriver*)this)->irr::video::COpenGLDriver::Params.irr::SIrrlichtCreationParameters::Stereobuffer ? 2 : 0))' from 'int' to 'DWORD {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing]
Compiling: COpenGLExtensionHandler.cpp
Compiling: COpenGLNormalMapRenderer.cpp
Compiling: COpenGLParallaxMapRenderer.cpp
Compiling: COpenGLSLMaterialRenderer.cpp
Compiling: COpenGLShaderMaterialRenderer.cpp
Compiling: COpenGLTexture.cpp
Compiling: CPLYMeshFileLoader.cpp
Compiling: CPLYMeshWriter.cpp
Compiling: CPakReader.cpp
Compiling: CParticleAnimatedMeshSceneNodeEmitter.cpp
Compiling: CParticleAttractionAffector.cpp
Compiling: CParticleBoxEmitter.cpp
Compiling: CParticleCylinderEmitter.cpp
Compiling: CParticleFadeOutAffector.cpp
Compiling: CParticleGravityAffector.cpp
Compiling: CParticleMeshEmitter.cpp
Compiling: CParticlePointEmitter.cpp
Compiling: CParticleRingEmitter.cpp
Compiling: CParticleRotationAffector.cpp
Compiling: CParticleScaleAffector.cpp
Compiling: CParticleSphereEmitter.cpp
Compiling: CParticleSystemSceneNode.cpp
Compiling: CQ3LevelMesh.cpp
Compiling: CQuake3ShaderSceneNode.cpp
Compiling: CReadFile.cpp
Compiling: CSMFMeshFileLoader.cpp
Compiling: CSTLMeshFileLoader.cpp
Compiling: CSTLMeshWriter.cpp
Compiling: CSceneCollisionManager.cpp
Compiling: CSceneLoaderIrr.cpp
Compiling: CSceneManager.cpp
Compiling: CSceneNodeAnimatorCameraFPS.cpp
Compiling: CSceneNodeAnimatorCameraMaya.cpp
Compiling: CSceneNodeAnimatorCollisionResponse.cpp
Compiling: CSceneNodeAnimatorDelete.cpp
Compiling: CSceneNodeAnimatorFlyCircle.cpp
Compiling: CSceneNodeAnimatorFlyStraight.cpp
Compiling: CSceneNodeAnimatorFollowSpline.cpp
Compiling: CSceneNodeAnimatorRotation.cpp
Compiling: CSceneNodeAnimatorTexture.cpp
Compiling: CShadowVolumeSceneNode.cpp
Compiling: CSkinnedMesh.cpp
Compiling: CSkyBoxSceneNode.cpp
Compiling: CSkyDomeSceneNode.cpp
Compiling: CSoftwareDriver.cpp
In file included from C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver.cpp:11:0:
C:\Projects\irrlicht\source\Irrlicht\CBlit.h:1182:12: warning: 'irr::s32 irr::StretchBlit(irr::eBlitter, irr::video::IImage*, const irr::core::rect<int>*, const irr::core::rect<int>*, irr::video::IImage*, irr::u32)' defined but not used [-Wunused-function]
Compiling: CSoftwareDriver2.cpp
C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.cpp: In member function 'virtual void irr::video::CBurningVideoDriver::drawVertexPrimitiveList(const void*, irr::u32, const void*, irr::u32, irr::video::E_VERTEX_TYPE, irr::scene::E_PRIMITIVE_TYPE, irr::video::E_INDEX_TYPE)':
C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.cpp:1536:5: warning: 'sourceIndex' may be used uninitialized in this function [-Wmaybe-uninitialized]
C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.cpp:1511:7: note: 'sourceIndex' was declared here
In file included from C:\Projects\irrlicht\source\Irrlicht\S4DVertex.h:10:0,
                 from C:\Projects\irrlicht\source\Irrlicht\IDepthBuffer.h:10,
                 from C:\Projects\irrlicht\source\Irrlicht\CDepthBuffer.h:8,
                 from C:\Projects\irrlicht\source\Irrlicht\IBurningShader.h:14,
                 from C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.h:9,
                 from C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.cpp:6:
C:\Projects\irrlicht\source\Irrlicht\SoftwareDriver2_helper.h:113:50: warning: '*((void*)& face +8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.cpp:1752:20: note: '*((void*)& face +8)' was declared here
In file included from C:\Projects\irrlicht\source\Irrlicht\S4DVertex.h:10:0,
                 from C:\Projects\irrlicht\source\Irrlicht\IDepthBuffer.h:10,
                 from C:\Projects\irrlicht\source\Irrlicht\CDepthBuffer.h:8,
                 from C:\Projects\irrlicht\source\Irrlicht\IBurningShader.h:14,
                 from C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.h:9,
                 from C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.cpp:6:
C:\Projects\irrlicht\source\Irrlicht\SoftwareDriver2_helper.h:113:50: warning: '*((void*)& face +4)' may be used uninitialized in this function [-Wmaybe-uninitialized]
C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.cpp:1752:20: note: '*((void*)& face +4)' was declared here
In file included from C:\Projects\irrlicht\source\Irrlicht\S4DVertex.h:10:0,
                 from C:\Projects\irrlicht\source\Irrlicht\IDepthBuffer.h:10,
                 from C:\Projects\irrlicht\source\Irrlicht\CDepthBuffer.h:8,
                 from C:\Projects\irrlicht\source\Irrlicht\IBurningShader.h:14,
                 from C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.h:9,
                 from C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.cpp:6:
C:\Projects\irrlicht\source\Irrlicht\SoftwareDriver2_helper.h:113:50: warning: 'face' may be used uninitialized in this function [-Wmaybe-uninitialized]
C:\Projects\irrlicht\source\Irrlicht\CSoftwareDriver2.cpp:1752:20: note: 'face' was declared here
Compiling: CSoftwareTexture.cpp
Compiling: CSoftwareTexture2.cpp
Compiling: CSphereSceneNode.cpp
Compiling: CTRFlat.cpp
Compiling: CTRFlatWire.cpp
Compiling: CTRGouraud.cpp
Compiling: CTRGouraud2.cpp
Compiling: CTRGouraudAlpha2.cpp
Compiling: CTRGouraudAlphaNoZ2.cpp
Compiling: CTRGouraudWire.cpp
Compiling: CTRNormalMap.cpp
Compiling: CTRStencilShadow.cpp
Compiling: CTRTextureBlend.cpp
Compiling: CTRTextureDetailMap2.cpp
Compiling: CTRTextureFlat.cpp
Compiling: CTRTextureFlatWire.cpp
Compiling: CTRTextureGouraud.cpp
Compiling: CTRTextureGouraud2.cpp
Compiling: CTRTextureGouraudAdd.cpp
Compiling: CTRTextureGouraudAdd2.cpp
Compiling: CTRTextureGouraudAddNoZ2.cpp
Compiling: CTRTextureGouraudAlpha.cpp
Compiling: CTRTextureGouraudAlphaNoZ.cpp
Compiling: CTRTextureGouraudNoZ.cpp
Compiling: CTRTextureGouraudNoZ2.cpp
Compiling: CTRTextureGouraudVertexAlpha2.cpp
Compiling: CTRTextureGouraudWire.cpp
Compiling: CTRTextureLightMap2_Add.cpp
Compiling: CTRTextureLightMap2_M1.cpp
Compiling: CTRTextureLightMap2_M2.cpp
Compiling: CTRTextureLightMap2_M4.cpp
Compiling: CTRTextureLightMapGouraud2_M4.cpp
Compiling: CTRTextureWire2.cpp
Compiling: CTarReader.cpp
Compiling: CTerrainSceneNode.cpp
Compiling: CTerrainTriangleSelector.cpp
Compiling: CTextSceneNode.cpp
Compiling: CTriangleBBSelector.cpp
Compiling: CTriangleSelector.cpp
Compiling: CVideoModeList.cpp
Compiling: CVolumeLightSceneNode.cpp
Compiling: CWADReader.cpp
Compiling: CWaterSurfaceSceneNode.cpp
Compiling: CWriteFile.cpp
Compiling: CXMLReader.cpp
Compiling: CXMLWriter.cpp
Compiling: CXMeshFileLoader.cpp
C:\Projects\irrlicht\source\Irrlicht\CXMeshFileLoader.cpp: In member function 'bool irr::scene::CXMeshFileLoader::parseDataObjectMesh(irr::scene::CXMeshFileLoader::SXMesh&)':
C:\Projects\irrlicht\source\Irrlicht\CXMeshFileLoader.cpp:892:8: warning: variable 'tangentpos' set but not used [-Wunused-but-set-variable]
C:\Projects\irrlicht\source\Irrlicht\CXMeshFileLoader.cpp:893:8: warning: variable 'binormalpos' set but not used [-Wunused-but-set-variable]
C:\Projects\irrlicht\source\Irrlicht\CXMeshFileLoader.cpp:897:8: warning: variable 'tangenttype' set but not used [-Wunused-but-set-variable]
C:\Projects\irrlicht\source\Irrlicht\CXMeshFileLoader.cpp:898:8: warning: variable 'binormaltype' set but not used [-Wunused-but-set-variable]
Compiling: CZBuffer.cpp
Compiling: CZipReader.cpp
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp: In member function 'virtual irr::io::IReadFile* irr::io::CZipReader::createAndOpenFile(irr::u32)':
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp:721:23: warning: missing initializer for member 'bz_stream::avail_in' [-Wmissing-field-initializers]
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp:721:23: warning: missing initializer for member 'bz_stream::total_in_lo32' [-Wmissing-field-initializers]
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp:721:23: warning: missing initializer for member 'bz_stream::total_in_hi32' [-Wmissing-field-initializers]
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp:721:23: warning: missing initializer for member 'bz_stream::next_out' [-Wmissing-field-initializers]
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp:721:23: warning: missing initializer for member 'bz_stream::avail_out' [-Wmissing-field-initializers]
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp:721:23: warning: missing initializer for member 'bz_stream::total_out_lo32' [-Wmissing-field-initializers]
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp:721:23: warning: missing initializer for member 'bz_stream::total_out_hi32' [-Wmissing-field-initializers]
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp:721:23: warning: missing initializer for member 'bz_stream::state' [-Wmissing-field-initializers]
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp:721:23: warning: missing initializer for member 'bz_stream::bzalloc' [-Wmissing-field-initializers]
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp:721:23: warning: missing initializer for member 'bz_stream::bzfree' [-Wmissing-field-initializers]
C:\Projects\irrlicht\source\Irrlicht\CZipReader.cpp:721:23: warning: missing initializer for member 'bz_stream::opaque' [-Wmissing-field-initializers]
Compiling: IBurningShader.cpp
Compiling: Irrlicht.cpp
Compiling: aesGladman\aescrypt.cpp
Compiling: aesGladman\aeskey.cpp
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp: In function 'int aes_decrypt_key192(const void*, aes_decrypt_ctx*)':
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:371:47: warning: operation on 'ss[4]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:371:47: warning: operation on 'ss[4]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:371:47: warning: operation on 'ss[4]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:372:47: warning: operation on 'ss[5]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:372:47: warning: operation on 'ss[5]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:372:47: warning: operation on 'ss[5]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp: In function 'int aes_decrypt_key256(const void*, aes_decrypt_ctx*)':
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:417:47: warning: operation on 'ss[4]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:417:47: warning: operation on 'ss[4]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:417:47: warning: operation on 'ss[4]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:418:47: warning: operation on 'ss[5]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:418:47: warning: operation on 'ss[5]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:418:47: warning: operation on 'ss[5]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:419:47: warning: operation on 'ss[6]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:419:47: warning: operation on 'ss[6]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:419:47: warning: operation on 'ss[6]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:420:47: warning: operation on 'ss[7]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:420:47: warning: operation on 'ss[7]' may be undefined [-Wsequence-point]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\aeskey.cpp:420:47: warning: operation on 'ss[7]' may be undefined [-Wsequence-point]
Compiling: aesGladman\aestab.cpp
Compiling: aesGladman\fileenc.cpp
C:\Projects\irrlicht\source\Irrlicht\aesGladman\fileenc.cpp: In function 'int fcrypt_end(unsigned char*, fcrypt_ctx*)':
C:\Projects\irrlicht\source\Irrlicht\aesGladman\fileenc.cpp:134:18: warning: unused variable 'res' [-Wunused-variable]
Compiling: aesGladman\hmac.cpp
Compiling: aesGladman\prng.cpp
Compiling: aesGladman\pwd2key.cpp
Compiling: aesGladman\sha1.cpp
Compiling: aesGladman\sha2.cpp
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '13096744586834688815ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '16840607885511220156ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '10538285296894168987ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '12329834152419229976ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '15566598209576043074ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '9286055187155687089ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '11230858885718282805ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '13951009754708518548ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '16472876342353939154ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '17275323862435702243ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '10970295158949994411ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '12119686244451234320ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '12683024718118986047ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '13788192230050041572ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '14330467153632333762ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '15395433587784984357ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '9350256976987008742ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '10552545826968843579ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '11727347734174303076ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '12113106623233404929ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '14000437183269869457ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '14369950271660146224ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '15101387698204529176ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '15463397548674623760ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '17586052441742319658ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '9568029438360202098ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '10144078919501101548ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '10430055236837252648ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '11840083180663258601ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '13761210420658862357ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '14299343276471374635ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '14566680578165727644ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '15097957966210449927ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '16922976911328602910ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:392:1: warning: narrowing conversion of '17689382322260857208ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:448:1: warning: narrowing conversion of '18374686479671623680ull' from 'long long unsigned int' to 'sha2_64t {aka long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:448:1: warning: narrowing conversion of '18446462598732840960ull' from 'long long unsigned int' to 'sha2_64t {aka long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:448:1: warning: narrowing conversion of '18446742974197923840ull' from 'long long unsigned int' to 'sha2_64t {aka long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:448:1: warning: narrowing conversion of '18446744069414584320ull' from 'long long unsigned int' to 'sha2_64t {aka long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:448:1: warning: narrowing conversion of '18446744073692774400ull' from 'long long unsigned int' to 'sha2_64t {aka long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:448:1: warning: narrowing conversion of '18446744073709486080ull' from 'long long unsigned int' to 'sha2_64t {aka long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:448:1: warning: narrowing conversion of '18446744073709551360ull' from 'long long unsigned int' to 'sha2_64t {aka long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:456:1: warning: narrowing conversion of '9223372036854775808ull' from 'long long unsigned int' to 'sha2_64t {aka long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:514:1: warning: narrowing conversion of '14680500436340154072ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:514:1: warning: narrowing conversion of '10473403895298186519ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:514:1: warning: narrowing conversion of '10282925794625328401ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:514:1: warning: narrowing conversion of '15784041429090275239ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:545:1: warning: narrowing conversion of '13503953896175478587ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:545:1: warning: narrowing conversion of '11912009170470909681ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
C:\Projects\irrlicht\source\Irrlicht\aesGladman\sha2.cpp:545:1: warning: narrowing conversion of '11170449401992604703ull' from 'long long unsigned int' to 'const sha2_64t {aka const long long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
Compiling: bzip2\blocksort.c
Compiling: bzip2\bzcompress.c
C:\Projects\irrlicht\source\Irrlicht\bzip2\bzcompress.c: In function 'sendMTFValues':
C:\Projects\irrlicht\source\Irrlicht\bzip2\bzcompress.c:243:19: warning: variable 'nBytes' set but not used [-Wunused-but-set-variable]
Compiling: bzip2\bzlib.c
Compiling: bzip2\crctable.c
Compiling: bzip2\decompress.c
Compiling: bzip2\huffman.c
Compiling: bzip2\randtable.c
Compiling: irrXML.cpp
Compiling: jpeglib\jaricom.c
Compiling: jpeglib\jcapimin.c
Compiling: jpeglib\jcapistd.c
Compiling: jpeglib\jcarith.c
Compiling: jpeglib\jccoefct.c
Compiling: jpeglib\jccolor.c
Compiling: jpeglib\jcdctmgr.c
Compiling: jpeglib\jchuff.c
Compiling: jpeglib\jcinit.c
Compiling: jpeglib\jcmainct.c
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jcmainct.c: In function 'start_pass_main':
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jcmainct.c:71:15: warning: 'main' is usually a function [-Wmain]
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jcmainct.c: In function 'process_data_simple_main':
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jcmainct.c:117:15: warning: 'main' is usually a function [-Wmain]
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jcmainct.c: In function 'jinit_c_main_controller':
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jcmainct.c:247:15: warning: 'main' is usually a function [-Wmain]
Compiling: jpeglib\jcmarker.c
Compiling: jpeglib\jcmaster.c
Compiling: jpeglib\jcomapi.c
Compiling: jpeglib\jcparam.c
Compiling: jpeglib\jcprepct.c
Compiling: jpeglib\jcsample.c
Compiling: jpeglib\jctrans.c
Compiling: jpeglib\jdapimin.c
Compiling: jpeglib\jdapistd.c
Compiling: jpeglib\jdarith.c
Compiling: jpeglib\jdatadst.c
Compiling: jpeglib\jdatasrc.c
Compiling: jpeglib\jdcoefct.c
Compiling: jpeglib\jdcolor.c
Compiling: jpeglib\jddctmgr.c
Compiling: jpeglib\jdhuff.c
Compiling: jpeglib\jdinput.c
Compiling: jpeglib\jdmainct.c
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c: In function 'alloc_funny_pointers':
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c:162:15: warning: 'main' is usually a function [-Wmain]
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c: In function 'make_funny_pointers':
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c:203:15: warning: 'main' is usually a function [-Wmain]
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c: In function 'set_wraparound_pointers':
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c:243:15: warning: 'main' is usually a function [-Wmain]
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c: In function 'set_bottom_pointers':
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c:272:15: warning: 'main' is usually a function [-Wmain]
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c: In function 'start_pass_main':
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c:309:15: warning: 'main' is usually a function [-Wmain]
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c: In function 'process_data_simple_main':
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c:349:15: warning: 'main' is usually a function [-Wmain]
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c: In function 'process_data_context_main':
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c:389:15: warning: 'main' is usually a function [-Wmain]
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c: In function 'jinit_d_main_controller':
C:\Projects\irrlicht\source\Irrlicht\jpeglib\jdmainct.c:478:15: warning: 'main' is usually a function [-Wmain]
Compiling: jpeglib\jdmarker.c
Compiling: jpeglib\jdmaster.c
Compiling: jpeglib\jdmerge.c
Compiling: jpeglib\jdpostct.c
Compiling: jpeglib\jdsample.c
Compiling: jpeglib\jdtrans.c
Compiling: jpeglib\jerror.c
Compiling: jpeglib\jfdctflt.c
Compiling: jpeglib\jfdctfst.c
Compiling: jpeglib\jfdctint.c
Compiling: jpeglib\jidctflt.c
Compiling: jpeglib\jidctfst.c
Compiling: jpeglib\jidctint.c
Compiling: jpeglib\jmemmgr.c
Compiling: jpeglib\jmemnobs.c
Compiling: jpeglib\jquant1.c
Compiling: jpeglib\jquant2.c
Compiling: jpeglib\jutils.c
Compiling: libpng\png.c
Compiling: libpng\pngerror.c
Compiling: libpng\pngget.c
Compiling: libpng\pngmem.c
Compiling: libpng\pngpread.c
Compiling: libpng\pngread.c
Compiling: libpng\pngrio.c
Compiling: libpng\pngrtran.c
Compiling: libpng\pngrutil.c
Compiling: libpng\pngset.c
Compiling: libpng\pngtrans.c
Compiling: libpng\pngwio.c
Compiling: libpng\pngwrite.c
Compiling: libpng\pngwtran.c
Compiling: libpng\pngwutil.c
Compiling: lzma\LzmaDec.c
Compiling: os.cpp
Compiling: zlib\adler32.c
Compiling: zlib\compress.c
Compiling: zlib\crc32.c
Compiling: zlib\deflate.c
Compiling: zlib\inffast.c
Compiling: zlib\inflate.c
Compiling: zlib\inftrees.c
Compiling: zlib\trees.c
Compiling: zlib\uncompr.c
Compiling: zlib\zutil.c
Linking dynamic library: ..\..\lib\Win32-gcc\Irrlicht.dll
Creating library file: ..\..\lib\Win32-gcc\libIrrlicht.dll.a
Output size is 6,74 MB
Running target post-build steps
cmd /c del ..\..\bin\Win32-gcc\Irrlicht.dll
cmd /c move ..\..\lib\Win32-gcc\Irrlicht.dll ..\..\bin\Win32-gcc\Irrlicht.dll
        1 file(s) moved.
Process terminated with status 0 (6 minutes, 1 seconds)
6 errors, 127 warnings
I already read somewhere that gcc 4.7.0 has changed some ???bit-orders??? but the postet parameter did not help.
What am I doing wrong?

Re: Problems compiling with Code:Blocks (Win)

Posted: Wed Oct 03, 2012 7:49 pm
by Default User
change your gcc to 4.6, gcc is known 4.7 to not work yet with Irrlicht.
As you can see here in my thread: http://irrlicht.sourceforge.net/forum/v ... 13#p272179
Yet, no one put a warning into the download page or anywhere to warn the newcomers. :)

Re: Problems compiling with Code:Blocks (Win)

Posted: Wed Oct 03, 2012 7:55 pm
by d3jake
Aren't those all warnings? Those shouldn't get in the way of compiling, right?

Re: Problems compiling with Code:Blocks (Win)

Posted: Wed Oct 03, 2012 10:55 pm
by hybrid
Well, you're also compiling too much of the extra libs into the library (those 'main' warnings in libjpeg e.g.)

Re: Problems compiling with Code:Blocks (Win)

Posted: Thu Oct 04, 2012 9:10 am
by CuteAlien
The question really is what the errors are here. But maybe get newest svn version of Irrlicht - that should work well with gcc 4.7 on MinGW (compiled yesterday). And it will become Irrlicht 1.8 soon, there's been a feature freeze already for a while.

Re: Problems compiling with Code:Blocks (Win)

Posted: Thu Oct 04, 2012 12:41 pm
by Hyperkubus
d3jake wrote:Aren't those all warnings? Those shouldn't get in the way of compiling, right?
CuteAlien wrote:The question really is what the errors are here. But maybe get newest svn version of Irrlicht - that should work well with gcc 4.7 on MinGW (compiled yesterday). And it will become Irrlicht 1.8 soon, there's been a feature freeze already for a while.
I think those "C:\Projects\irrlicht\source\Irrlicht\CIrrDeviceWin32.cpp:1862:18: note: 'pixelCol.irr::video::SColor::color' was declared here" (and similar) are errors as they are printed in red. And I think I have the current svn version (4323).
hybrid wrote:Well, you're also compiling too much of the extra libs into the library (those 'main' warnings in libjpeg e.g.)
How do I avoid this? I'm currently just opening the project and compiling - are there any settings I must tweak?



Thank you everyone for helping.

Re: Problems compiling with Code:Blocks (Win)

Posted: Thu Oct 04, 2012 12:55 pm
by CuteAlien
Yes, that's the newest version. Can you tell me which project file you are using exactly and which build-target you have chosen?
Or anything you changed from default-settings? Extra-libs should not be the problem, I also compile those (and wouldn't really know how to get it even working otherwise).

I notice that I do not have the warnings which seem to give you errors. So for some reason you seem to have different warnings settings.

Re: Problems compiling with Code:Blocks (Win)

Posted: Thu Oct 04, 2012 1:18 pm
by Hyperkubus
The project file is: source\Irrlicht\Irrlicht-gcc.cbp
Build target is: Win32 - Release - accurate math - dll (as far as I understand this is what I need to use Irrlicht with win-gcc or am I mistaken?)
I did not change anything in the project.

Re: Problems compiling with Code:Blocks (Win)

Posted: Thu Oct 04, 2012 1:34 pm
by hybrid
Ok, the extra libs are ok, just the warnings are new. Though sometimes people just put all files from the jpeglib directory into their project, and then failing due to duplicated symbols etc. But also the 'defined here' lines are just additions to the warnings in the line before that. So not actually errors.

Re: Problems compiling with Code:Blocks (Win)

Posted: Thu Oct 04, 2012 3:28 pm
by Hyperkubus
Mh, i put the whole Output up there - so no idea what those errors are - anywhere special to look for them?

Re: Problems compiling with Code:Blocks (Win)

Posted: Thu Oct 04, 2012 5:56 pm
by CuteAlien
Not much of an idea so far... I had used the debug-compile, but no difference here when compiling release. Except that I get the same warnings now (guess some are not enabled in debug or I didn't see them earlier). I remember I had those red warnings as well before in C::B, but don't know how I got rid of them (probably just by recompiling...).

We can look if we have any differences in our systems. I'm also on Windows 7 with 64 bit, so should be somewhat similar.

Let's start with Settings - Compiler settings (the global compiler settings). I have simply nothing selected there in the Compiler Flags section, so maybe check if you have enabled anything there.

Next the g++ version. In the MinGW console type: g++ --version. My version here is currently 4.7.0

You might have a newer C::B, as mine is installed already a few months (april), I'm using a nightly build with svn version 7932 right now.

Your compile-order is different (which shouldn't matter), yours is the order in which files are in the project file while files compile here in some order which doesn't make any obvious sense to me. But I couldn't find an option for that right now.

But all in all it looks right now rather like a C::B bug - thinking warnings are errors for some reason. Maybe ask in their forum as well if someone has an idea.

Or did you maybe change anything in IrrCompileConfig.h?

Re: Problems compiling with Code:Blocks (Win)

Posted: Thu Oct 04, 2012 6:52 pm
by Hyperkubus
CuteAlien wrote:We can look if we have any differences in our systems. I'm also on Windows 7 with 64 bit, so should be somewhat similar.
CuteAlien wrote:Let's start with Settings - Compiler settings (the global compiler settings). I have simply nothing selected there in the Compiler Flags section, so maybe check if you have enabled anything there.
No all flags are disabled.
CuteAlien wrote:Next the g++ version. In the MinGW console type: g++ --version. My version here is currently 4.7.0
4.7.0 here too
CuteAlien wrote:You might have a newer C::B, as mine is installed already a few months (april), I'm using a nightly build with svn version 7932 right now.
I'm using 'Build: May 27 2010, 19:10:05 - wx2.8.10 (Windows, unicode) - 32 bit' (Looks somewhat outdated to me but seems to be the newest binary version. I'll get the svn version and try if it is any better.)
CuteAlien wrote:But all in all it looks right now rather like a C::B bug - thinking warnings are errors for some reason. Maybe ask in their forum as well if someone has an idea.
Ok - will do this after I tried the svn version.
CuteAlien wrote:Or did you maybe change anything in IrrCompileConfig.h?
Nope, left everything untouched.

Re: Problems compiling with Code:Blocks (Win)

Posted: Thu Oct 04, 2012 7:31 pm
by Hyperkubus
Well - the newer Code:Blocks version did the job - now I only get those warnings.
Problem solved. (Though I have no idea what the problem was)

Re: Problems compiling with Code:Blocks (Win)

Posted: Thu Oct 04, 2012 9:14 pm
by CuteAlien
Ah ok. Probably a combination of new gcc + old C::B or something like that. Well, at least next person running into this can find help now in the forum quicker :-)