in reply to Re^2: system functionin thread system function
Are you sure that this is a problem of the system function?
Maybe you want to read the documentation of the "strict" pragma and maybe Coping With Scoping afterwards.