This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
这个警告可以忽略。可能由于等号两边都出现了volatile,也可能是一行中同时出现了两个以上volatile而编译器不知道去访问哪一个
请问 count=(count==5)?0:count++; 语法有没有错误?Susan Yang 说:这个警告可以忽略。可能由于等号两边都出现了volatile,也���能是一行中同时出现了两个以上volatile而编译器不知道去访问哪一个
你好,
建议你这样去写: count = {(count==5)?0:count++};
你单步执行一下就知道有没有问题啦。