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
Post a Comment