> since p is a global variable, it can be used in other functions. Any
> other causes?

The first thing to do is to post a reproducer.  As Ian said, your code doesn't 
even compile...

-- 
Eric Botcazou

Reply via email to