prog.cpp:17:14: error: using-declaration for non-member at class scope
using bla::Direction ;
^~~~~~~~~
prog.cpp:19:3: error: ‘Direction’ does not name a type
Direction d;
^~~~~~~~~
prog.cpp:26:22: error: ‘Direction’ in ‘struct OtherNS::SomeStruct’ does not name a type
OtherNS::SomeStruct::Direction other = OtherNS::SomeStruct::dirB;
^~~~~~~~~
prog.cpp: In function ‘int main()’:
prog.cpp:30:8: error: ‘other’ was not declared in this scope
cout<<other<<"\n";
^~~~~