Jump to content

  • Log In with Google      Sign In   
  • Create Account


We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.

Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Member Since 16 Dec 2000
Offline Last Active Today, 02:23 PM

Posts I've Made

In Topic: Which of these games would you like to read more about?

08 December 2014 - 09:30 AM

I went for System Shock II because the FPS/RPG type of game has become far more widespread since then (an pointing out the evolutionary changes could be interesting)

Aside from Raptor (seems too simple) and Scorched Earth (seems too unusual, other turn-based game options could be interesting), I think all of them would be interesting.

In Topic: iPhone - "Popup" redirect

08 December 2014 - 08:59 AM

I can't check right now as my iPhone (5) is broken. I've been experiencing horribly annoying redirects on gamedev.net as well. However it wasn't just a popup but a redirect that directly opened the iTunes store...

In Topic: CMake generate .lib and .exp for an executable

02 December 2014 - 02:24 AM

As far as I know you can't. But also, why would you want to? Remember: The build output directory is not an install/package directory.

In Topic: Switching from CreateThread() to Thread

25 November 2014 - 08:05 AM

The call operator of the created functor is a template itself (perfect forwarding!), so that it isn't actually callable doesn't matter as that template isn't instanced as the return value is never used/called.

It would sure be great if we had gotten concepts in C++14, but we didn't.

In Topic: Switching from CreateThread() to Thread

25 November 2014 - 03:02 AM

I had a closer look at your code, and although it does have threading issues as others have stated, I suspect your problem has a different cause and that is the following line:

using namespace std;

Why is this an issue? Both WinSock and C++11 (more specifically the <functional> header which in your case is included by <thread>) define a bind function.

Either don't use using namespace at a global scope (preferred), or be specific and use the global version of bind that WinSock defines by using ::bind.


See http://stackoverflow.com/questions/20314343/c-including-thread-redefines-winsock-function-bind