file names #115
Replies: 2 comments 1 reply
-
The
(see for example, https://learn.microsoft.com/en-us/cpp/preprocessor/hash-line-directive-c-cpp), and I verified that all my unit test code everywhere uses the double-quotes, so if people just copy my examples, they should be fine. There might be some potential for confusion when compared to the |
Beta Was this translation helpful? Give feedback.
-
I should also remark that this |
Beta Was this translation helpful? Give feedback.
-
hi all,
if any of you use the
#line 2
syntax in your tests, i.e.if you use special characters in your
.ino
file, like underscores, e.g.this_is_my_file.ino
, you will get an error like the one listed below:and your code will not compile.
a workaround for this issue is to escape the
this_is_my_file.ino
filename with double quotes, i.e.:then the error goes away and your code will compile successfully.
kind regards,
rey malahay
Beta Was this translation helpful? Give feedback.
All reactions