请教这句话如何翻译? which is of non-class type 'main():foo*'

请问这句话怎么翻译? which is of non-class type 'main()::foo*' error: request for member

请问这句话怎么翻译? which is of non-class type 'main()::foo*'
 error: request for member 'x' in 'b', which is of non-class type 'main()::foo*'
[解决办法]
为何不把编译器和错误编号放出来,或者贴源代码,没有上下文直接翻译这句子没有意义哦
[解决办法]
请求b中的x, 但是b不是类类型.

改为:
b->x = 12;