In Windows I can see any variable I declared in a namespace from outside of that namespace, but when it comes to Multi compiler, it is so strict, if you declared some variable in let say namespace X, you must access that variable only in namespace X, but I want so access this variable also from out of the namespace.
Is there any pre-processor definitions or any way to make this possible. It is a must for me, I cannot delete the namespaces.
Any kind of help is appreciated.
namespace X
{
int a = 5;
}
int b = a + 6;
result: a is undefined in multi compiler