You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors and warnings produced by the compiler provide the path to the files in the temp directory instead of the actual file location.
Example warning output.
C:\Users\Gabe\AppData\Local\Temp\arduino-sketch-D96E63BC1A299C47BBA385C4BB083A65\sketch\src\leptonSDK\FLIR_I2C.cpp: In function 'LEP_RESULT DEV_I2C_MasterWriteData(LEP_UINT16, LEP_UINT8, LEP_UINT16, LEP_UINT16*, LEP_UINT16, LEP_UINT16*, LEP_UINT16*)':
C:\Users\Gabe\AppData\Local\Temp\arduino-sketch-D96E63BC1A299C47BBA385C4BB083A65\sketch\src\leptonSDK\FLIR_I2C.cpp:254:59: error: call of overloaded 'write(LEP_UINT8*&, LEP_INT32&)' is ambiguous
bytesActuallyWritten = Wire.write(txdata, bytesToWrite);
^
Expected behavior
Warnings for included files should instead point to the actual source file.
Example Corrected Warning Output
D:\Desktop\test\src\leptonSDK\FLIR_I2C.cpp: In function 'LEP_RESULT DEV_I2C_MasterWriteData(LEP_UINT16, LEP_UINT8, LEP_UINT16, LEP_UINT16*, LEP_UINT16, LEP_UINT16*, LEP_UINT16*)':
D:\Desktop\test\src\leptonSDK\FLIR_I2C.cpp:254:59: error: call of overloaded 'write(LEP_UINT8*&, LEP_INT32&)' is ambiguous
bytesActuallyWritten = Wire.write(txdata, bytesToWrite);
^
Note that in the corrected file output, the source file properly links to the actual user file that the error occurred in.
Environment
CLI version (output of arduino-cli version): 0.14.0
OS and platform: Windows 10 x64
Additional context
This is absolutely necessary for properly implementing problem matching to allow for integrating arduino-cli into an IDE. With the outputs working the way that they currently do, clicking on errors will cause the file in the temporary directory to be opened, instead. This will cause the developer to edit a file that will simply be overwritten on the next build.
The text was updated successfully, but these errors were encountered:
Bug Report
Current behavior
Errors and warnings produced by the compiler provide the path to the files in the temp directory instead of the actual file location.
Example warning output.
Expected behavior
Warnings for included files should instead point to the actual source file.
Example Corrected Warning Output
Note that in the corrected file output, the source file properly links to the actual user file that the error occurred in.
Environment
arduino-cli version
): 0.14.0Additional context
This is absolutely necessary for properly implementing problem matching to allow for integrating
arduino-cli
into an IDE. With the outputs working the way that they currently do, clicking on errors will cause the file in the temporary directory to be opened, instead. This will cause the developer to edit a file that will simply be overwritten on the next build.The text was updated successfully, but these errors were encountered: