Hi,
I don't know why the Gawk.h header file is not recognized. Does it have to be in the same folder as this header file?
What is the Gawk.h? I suggest you could try to add the path to the header file to the Additional Include Directories(property - >c/c++ -> General -> Additional Include Directories). And you could also try to add the absolute path where Gawk.h is located in the #include.
According to the Compiler Error C2143:
Because the compiler may report this error after it encounters the line that causes the problem, check several lines of code that precede the error.
I suggest you could try to solve the problem of unable to recognize header file, and then the later error may disappear.
Best Regards,
Jeanine Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.