[Bf-committers] note to developers about 32 vs 64 bit long datatypes

pete larabell xgl.asyliax at gmail.com
Tue Oct 25 23:42:31 CEST 2011


Hey all, was debugging a new node im making and some discussion on IRC
lead me to find this:

http://en.cppreference.com/w/cpp/language/types

Note that unsigned long, and long are truly DIFFERENT sizes on Win64
vs Linux64/FreeBSD64/OSX64

Not sure if anyone else ran into a problem like this, but I thought it
was worth bringing up to everyone that may be expecting something a
certain size (for filling out a struct or whatever), it's different
depending on the platform you compile on.

Cheers!


More information about the Bf-committers mailing list