I just figured you guys might find it useful to know the code in a part of IBoneSceneNode.h is deprecated. Tried compiling Irrlicht_example_1 (tut 1) with i686-5.2.0-posix-dwarf-rt_v4-rev0 (basically mingw-32) and I got the warning.
||=== Build: Windows in Irrlicht Example 01 Hello World (compiler: GNU GCC Compiler) ===|
C:\irrlicht-1.8.2\examples\01.HelloWorld\main.cpp|232|warning: 'virtual const c8* irr::scene::IBoneSceneNode::getBoneName() const' is deprecated [-Wdeprecated-declarations]|
..\..\include\IBoneSceneNode.h|64|note: declared here|
||=== Build finished: 0 error(s), 1 warning(s) (0 minute(s), 2 second(s)) ===|
||=== Run: "no target" in Irrlicht Example 01 Hello World (compiler: GNU GCC Compiler) ===|
That's all... nothing fatal. This did fix my gxx-personality problem, namely the pop-up error "The procedure entry point __gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll".
The one (and only) reason I kept using Codeblocks 10 with Irrlicht 1.7 for 5 years. Need to install codeblocks without mingw and then configure mingw into the toolchain
deprecated code when building with 1.8.2 and Ming-W?
-
- Posts: 226
- Joined: Wed Jan 26, 2011 5:37 pm
- Contact:
Re: deprecated code when building with 1.8.2 and Ming-W?
That's marked deprecated *by* the irr devs, as information for you, the engine user.
Re: deprecated code when building with 1.8.2 and Ming-W?
Thought it's strange you get that when compiling example 01 as that doesn't use getBoneName usually. Did you modify that example?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 226
- Joined: Wed Jan 26, 2011 5:37 pm
- Contact:
Re: deprecated code when building with 1.8.2 and Ming-W?
Nothing was modified in the main.cpp or irrlicht, the only thing I modified for the whole thing was setting up the codeblocks toolchain for mingw.CuteAlien wrote:Thought it's strange you get that when compiling example 01 as that doesn't use getBoneName usually. Did you modify that example?
Re: deprecated code when building with 1.8.2 and Ming-W?
Line 232 is really just the closing bracket '}'? Then I don't get it. Why would it warn about a function that is not used in the code?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 226
- Joined: Wed Jan 26, 2011 5:37 pm
- Contact:
Re: deprecated code when building with 1.8.2 and Ming-W?
CuteAlien wrote:Line 232 is really just the closing bracket '}'? Then I don't get it. Why would it warn about a function that is not used in the code?
I know, I noticed that too, I had no idea why it warned that plus the code doesn't reference the header file in question even indirectly so I too was puzzled, but it could be the sign of a catastrophic failure somewhere along the line so I posted this just in case; it's probably nothing though really. Irrlicht worked fine for me with codeblocks (with mingw) 10 and irrlicht 1.7, so for some reason mingw must be doing something wrong in the newer version since I cannot see irrlicht being radically different since 1.7.