c++ - Qt MOC error for namespace like FOO::BAR -


i've got namespace

namespace foo::bar {     [..] mynamespacecontent [..] } 

the moc compiler spots error on first ligne. error disappears when put :

namespace foo {     namespace bar {         [..] mynamespacecontent [..]     } } 

do happen know how can solve moc problem ?

it not moc problem, rather c++ issue;

namespace foo::bar { 

is not valid syntax, unfortunately.

namespace foo { namespace bar { 

is okay.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -