Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - CyberRascal

Pages: [1]
1
General discussions / And for my birthday I wish...
« on: March 03, 2012, 05:28:50 pm »
Quote from: "DevilWithin"
Java-style is C++ style too :) almost!

But honestly, it really looks neat. While both naming conventions have their beauty, there are names that look particularly bad in upper case, such as IsSomething(), in my opinion.

If you are using more than a couple middleware in your project, chances are 70% of them are in lowerCase() . And the standard library of C++ is lower too, and that won't change while the minority of middleware in CamelCase can adapt anytime :)

Cmon, my birthday is coming too ! xD


But the stdlib is in lower_case, not lowerCase.. As is boost. Why do you (SFML dev and users) prefer camel case over the convention used by the stl?

2
General / SFML 1.6 + Visual Studio Pro 2010 - Compiles, doesn't run
« on: March 03, 2012, 11:50:11 am »
Let me get this straight:

OP downloaded libraries for VS 2008 and tried to use in a VS 2010 project. Is the reason this doesn't work because of mixing C runtimes, or binary incompatibility between the compilers, or both?

Or something else entirely?

3
General / Invalid read of size 4 in sf::Window::Window
« on: March 03, 2012, 12:54:50 am »
Hi!

I'm having a little problem. SFML probably isn't the cause of this error, or I should have found it on the bug tracker. But I still can't figure out what I would be doing wrong.

I'm using the latest snapshot of SFML (compiled today), and valgrind 3.7.0.2, running on Archlinux in a vmware machine. I get the following output:

Any ideas?

Code: [Select]
==17135== Invalid read of size 4
==17135==    at 0xA78DEB7: ??? (in /usr/lib/xorg/modules/dri/swrastg_dri.so)
==17135==    by 0xA79212F: ??? (in /usr/lib/xorg/modules/dri/swrastg_dri.so)
==17135==    by 0xA790638: ??? (in /usr/lib/xorg/modules/dri/swrastg_dri.so)
==17135==    by 0xA745774: ??? (in /usr/lib/xorg/modules/dri/swrastg_dri.so)
==17135==    by 0xA7425D5: ??? (in /usr/lib/xorg/modules/dri/swrastg_dri.so)
==17135==    by 0x50DCF9E: ??? (in /usr/lib/libGL.so.1.2)
==17135==    by 0x50BB172: glXMakeContextCurrent (in /usr/lib/libGL.so.1.2)
==17135==    by 0x617F17B: sf::priv::GlxContext::MakeCurrent() (in /usr/local/lib/libsfml-window.so.2.0)
==17135==    by 0x617ABCC: sf::priv::GlContext::GlobalInit() (in /usr/local/lib/libsfml-window.so.2.0)
==17135==    by 0x617B4F3: sf::GlResource::GlResource() (in /usr/local/lib/libsfml-window.so.2.0)
==17135==    by 0x617D570: sf::Window::Window(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (in /usr/local/lib/libsfml-window.so.2.0)
==17135==    by 0x42E0F3: rev::main(int, char**) (main.cpp:36)
==17135==  Address 0xa419030 is 0 bytes inside a block of size 1 alloc'd
==17135==    at 0x4C28024: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==17135==    by 0xA78E092: ??? (in /usr/lib/xorg/modules/dri/swrastg_dri.so)
==17135==    by 0xA79212F: ??? (in /usr/lib/xorg/modules/dri/swrastg_dri.so)
==17135==    by 0xA790638: ??? (in /usr/lib/xorg/modules/dri/swrastg_dri.so)
==17135==    by 0xA745774: ??? (in /usr/lib/xorg/modules/dri/swrastg_dri.so)
==17135==    by 0xA7425D5: ??? (in /usr/lib/xorg/modules/dri/swrastg_dri.so)
==17135==    by 0x50DCF9E: ??? (in /usr/lib/libGL.so.1.2)
==17135==    by 0x50BB172: glXMakeContextCurrent (in /usr/lib/libGL.so.1.2)
==17135==    by 0x617F17B: sf::priv::GlxContext::MakeCurrent() (in /usr/local/lib/libsfml-window.so.2.0)
==17135==    by 0x617ABCC: sf::priv::GlContext::GlobalInit() (in /usr/local/lib/libsfml-window.so.2.0)
==17135==    by 0x617B4F3: sf::GlResource::GlResource() (in /usr/local/lib/libsfml-window.so.2.0)
==17135==    by 0x617D570: sf::Window::Window(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (in /usr/local/lib/libsfml-window.so.2.0)

Pages: [1]