我收到错误消息 Error: Illegal implicit conversion from '@enum$1main_c**' to '@enum$1main_c*'
//example.h
typedef enum {eg_1, eg_2} valType;
//main.c
#include "example.h"
void main(void)
{
valType *testVal;
while(1)
{
read(x,y,*testval);
}
}
你能告诉我我做错了什么吗?提前致谢