Jonas Munsin schrieb: > Shouldn't a nameless namepsace be used here? gcc 3.4.3 does not like > extern "C" static > at all (error: multiple storage classes in declaration of ...). i.e., in > thread.c: > > namespace { > extern "C" void *StartThread(cThread *Thread) > { > .... > } > } Yes, that works, too (except that gcc 2.95 that is still used for linvdr doesn't care about namespaces ;) ) Regarding standard C++, I guess the anonymous namespace would be the most preferable solution. Greetings, Sascha Volkenandt