>>> Try putting both of these variables in an anonymous namespace.
>>>     
>>
>> hm, dont understand why this should help.
>>
>>   
> Same variable in the same namespace. That's what causes the conflict. 

yes.

> Anonymous namespace, I think, has file scope.

but thats where i dont follow you. to have two definitions of any variable in 
one translation unit is invalid in C++.

why dont we put it in header Abdel ?

pavel

Reply via email to