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.

error: #20: identifier "inline" is undefined

为什么会出现..\..\sensorlib/i2cm_drv.h(458): error:  #20: identifier "inline" is undefined

  • 1.你inline所在的.h文件是否被包含

    2.你的这个标示符inline是否已经被改名为_inline,你全局搜索下,看看哪里定义的了