SFML community forums
Help => General => Topic started by: MisterKpak on May 20, 2012, 03:40:23 pm
-
Hello.
When compiling with Code::Blocks, is it normal to get 20+warnings about a class having pointer members?
Thanks for your help :D
-
You'll get more answers if you post the actual warning message and the corresponding code.
-
Sorry. Here's some examples:
Example A) G:\Programming\CPP stuff\APIs\SFML-1.6\include/SFML/System/Win32/Thread.hpp:45: warning: base class 'struct sf::NonCopyable' has a non-virtual destructor
G:\Programming\CPP stuff\APIs\SFML-1.6\include/SFML/System/Win32/Thread.hpp:45: warning: 'class sf::Thread' has pointer data members
G:\Programming\CPP stuff\APIs\SFML-1.6\include/SFML/System/Win32/Thread.hpp:45: warning: but does not override 'sf::Thread(const sf::Thread&)'
G:\Programming\CPP stuff\APIs\SFML-1.6\include/SFML/System/Win32/Thread.hpp:45: warning: or 'operator=(const sf::Thread&)'
Example B) G:\Programming\CPP stuff\APIs\SFML-1.6\include/SFML/System/Win32/Mutex.hpp:46: warning: base class 'struct sf::NonCopyable' has a non-virtual destructor
Example C) <command-line>: warning: missing whitespace after the macro name
Thanks again :)
-
Ah, you're using very strict compiler settings.
It was already discussed there:
http://en.sfml-dev.org/forums/index.php?topic=7852.0
The conclusion is that it doesn't make sense to activate these specific warnings for the general case.
-
Thanks ;D -wall helped all but the
"missing whitespace after macro name"
Any idea what that is?
-
Any idea where that is?
-
Just says command line
-
One more question then i'll shut up for awhile.
When i try to run a program outside of C::B it tells me i need libgcc_(something or other).dll
I can't seem to find that in SFML files. Is it a CMake thing i need to do?
-
Just says command line
So it's probably something that Code::Blocks sends to gcc.
When i try to run a program outside of C::B it tells me i need libgcc_(something or other).dll
I can't seem to find that in SFML files. Is it a CMake thing i need to do?
No, it's a MinGW thing (it's in mingw/bin).
-
THANK YOU SO MUCH :DDD
Ok i'm done. Sorry for being a pest.