Actually, it's a C problem, not a C++ one. "static" for a global variable means that the variable is not exported by the compiler outside the compilation unit. -- Sylvain Joyeux