1
Général / Re : Segfault
« le: Mai 05, 2013, 12:59:27 pm »
Oh juste deux jours :°
Cette section vous permet de consulter les contributions (messages, sujets et fichiers joints) d'un utilisateur. Vous ne pourrez voir que les contributions des zones auxquelles vous avez accès.
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\include\c++\cwchar|159|error: '::swprintf' has not been declared|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.0\include\c++\cwchar|166|error: '::vswprintf' has not been declared|
C:\SFML-2.0\include\SFML\System\Vector2.hpp|85|error: ISO C++ forbids initialization of member 'x'|
C:\SFML-2.0\include\SFML\System\Vector2.hpp|85|error: making 'x' static|
C:\SFML-2.0\include\SFML\System\Vector2.hpp|86|error: ISO C++ forbids initialization of member 'y'|
C:\SFML-2.0\include\SFML\System\Vector2.hpp|86|error: making 'y' static|
C:\SFML-2.0\include\SFML\System\Vector2.inl||In constructor 'sf::Vector2<T>::Vector2(T, T)':|
C:\SFML-2.0\include\SFML\System\Vector2.inl|43|error: 'T sf::Vector2<T>::x' is a static data member; it can only be initialized at its definition|
C:\SFML-2.0\include\SFML\System\Vector2.inl|44|error: 'T sf::Vector2<T>::y' is a static data member; it can only be initialized at its definition|
C:\SFML-2.0\include\SFML\System\Vector2.inl||In constructor 'sf::Vector2<T>::Vector2(const sf::Vector2<U>&)':|
C:\SFML-2.0\include\SFML\System\Vector2.inl|54|error: 'T sf::Vector2<T>::x' is a static data member; it can only be initialized at its definition|
C:\SFML-2.0\include\SFML\System\Vector2.inl|55|error: 'T sf::Vector2<T>::y' is a static data member; it can only be initialized at its definition|
C:\SFML-2.0\include\SFML\System\Vector3.hpp|87|error: ISO C++ forbids initialization of member 'x'|
C:\SFML-2.0\include\SFML\System\Vector3.hpp|87|error: making 'x' static|
C:\SFML-2.0\include\SFML\System\Vector3.hpp|88|error: ISO C++ forbids initialization of member 'y'|
C:\SFML-2.0\include\SFML\System\Vector3.hpp|88|error: making 'y' static|
C:\SFML-2.0\include\SFML\System\Vector3.hpp|89|error: ISO C++ forbids initialization of member 'z'|
C:\SFML-2.0\include\SFML\System\Vector3.hpp|89|error: making 'z' static|
C:\SFML-2.0\include\SFML\System\Vector3.inl||In constructor 'sf::Vector3<T>::Vector3(T, T, T)':|
C:\SFML-2.0\include\SFML\System\Vector3.inl|43|error: 'T sf::Vector3<T>::x' is a static data member; it can only be initialized at its definition|
C:\SFML-2.0\include\SFML\System\Vector3.inl|44|error: 'T sf::Vector3<T>::y' is a static data member; it can only be initialized at its definition|
C:\SFML-2.0\include\SFML\System\Vector3.inl|45|error: 'T sf::Vector3<T>::z' is a static data member; it can only be initialized at its definition|
C:\SFML-2.0\include\SFML\System\Vector3.inl||In constructor 'sf::Vector3<T>::Vector3(const sf::Vector3<U>&)':|
C:\SFML-2.0\include\SFML\System\Vector3.inl|55|error: 'T sf::Vector3<T>::x' is a static data member; it can only be initialized at its definition|
C:\SFML-2.0\include\SFML\System\Vector3.inl|56|error: 'T sf::Vector3<T>::y' is a static data member; it can only be initialized at its definition|
C:\SFML-2.0\include\SFML\System\Vector3.inl|57|error: 'T sf::Vector3<T>::z' is a static data member; it can only be initialized at its definition|
C:\SFML-2.0\include\SFML\System\Vector2.hpp||In instantiation of 'sf::Vector2<unsigned int>':|
C:\SFML-2.0\include\SFML\Graphics\Image.hpp|260|instantiated from here|
C:\SFML-2.0\include\SFML\System\Vector2.hpp|85|error: ISO C++ forbids in-class initialization of non-const static member 'sf::Vector2<unsigned int>::x'|
C:\SFML-2.0\include\SFML\System\Vector2.hpp|86|error: ISO C++ forbids in-class initialization of non-const static member 'sf::Vector2<unsigned int>::y'|
C:\SFML-2.0\include\SFML\System\Vector2.hpp||In instantiation of 'sf::Vector2<float>':|
C:\SFML-2.0\include\SFML\Graphics\View.hpp|272|instantiated from here|
C:\SFML-2.0\include\SFML\System\Vector2.hpp|85|error: ISO C++ forbids in-class initialization of non-const static member 'sf::Vector2<float>::x'|
C:\SFML-2.0\include\SFML\System\Vector2.hpp|86|error: ISO C++ forbids in-class initialization of non-const static member 'sf::Vector2<float>::y'|
D:\Animak\main.cpp||In function 'int main()':|
D:\Animak\main.cpp|5|error: expected primary-expression before '/' token|
D:\Animak\main.cpp|6|error: expected primary-expression before 'shape'|
D:\Animak\main.cpp|6|error: expected ';' before 'shape'|
D:\Animak\main.cpp|7|error: 'shape' was not declared in this scope|
C:\SFML-2.0\include\SFML\System\Vector2.inl||In instantiation of 'sf::Vector2<T>::Vector2(T, T) [with T = float]':|
C:\SFML-2.0\include\SFML\Graphics\RectangleShape.hpp|51|instantiated from here|
C:\SFML-2.0\include\SFML\System\Vector2.inl|42|warning: unused parameter 'X'|
C:\SFML-2.0\include\SFML\System\Vector2.inl|42|warning: unused parameter 'Y'|
||=== Build finished: 30 errors, 5 warnings (0 minutes, 1 seconds) ===|
Debugger name and version: GNU gdb (GDB) 7.0.50.20100202
Child process PID: 1364
At D:\Animak\main.cpp:6
Program received signal SIGSEGV, Segmentation fault.
At c:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.h:272
#0 660845DA std::basic_string<unsigned int, std::char_traits<unsigned int>, std::allocator<unsigned int> >::_Alloc_hider::_Alloc_hider(this=0x0, __dat=0x66086010, __a=...) (c:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.h:272)
#1 660856B8 std::basic_string<unsigned int, std::char_traits<unsigned int>, std::allocator<unsigned int> >::basic_string(this=0x0) (c:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.h:436)
#2 66081996 sf::String::String(this=0x0, ansiString=0x28ff00 "Ä[@uø‹D", locale=...) (C:\Users\User\Desktop\SFML-2.0\src\SFML\System\String.cpp:68)
#3 00401445 main() (D:\Animak\main.cpp:6)
Child process PID: 1600
At D:\Animak\main.cpp:6
Program received signal SIGSEGV, Segmentation fault.
At c:/mingw/bin/../lib/gcc/mingw32/4.7.2/include/c++/bits/basic_string.h:272