Page 1 of 1

why unresolved inclusion and syntax error exist but still compile ok and function works?

Posted: Fri Nov 15, 2019 10:21 am
by TonyXiao
Hi all

i am trying fix bugs of my project, and found something strange.
syntax error.png
unresolved inclusion.png
there are many of such question mark. but do can compile without any errors, and debug and run all works,
can somebody tell me why?

BR,
Tony

Re: why unresolved inclusion and syntax error exist but still compile ok and function works?

Posted: Fri Nov 15, 2019 11:27 am
by mon2
https://stackoverflow.com/questions/933 ... ry-headers

The headers / files with question mark are getting resolved. As a test, rename the header reference to a random filename that really does not exist in your filesystem. Then an error should be raised.

Re: why unresolved inclusion and syntax error exist but still compile ok and function works?

Posted: Mon Nov 18, 2019 3:24 am
by TonyXiao
Hi mon2

Thanks for your quick reply.
for the unresolved inclusion, i have changed all the head files with obsolute address, then such yellow question mart disappeared.
how about the syntax error? is the same issue?

BR,
Tony