It's not the most helpful error message in the world, I know, but that's the only error I'm receiving. I know that this type of error occurs when a right parenthesis is missing, a closing brace is missing, a semi-colon is missing, or when a comma is missing. I can't seem to find any of these signs.
Don't paraphrase errors. Post the error in its entirety. There's no way that's all it's telling you.
Allow me explain what my situation, and me error is, properly. When I hover over the underlined sections of the code, it says: Expected a declaration. However, when I compile the project( as a static library ), I get not errors or warnings.
See the image of my VCE[1], then you'll know what I'm on about.
Mathhead, I've always called an object constructor when using new/new[ ], and it never caused problems. Also, I've always used std::bad_alloc, which never caused problems either.
Oh, for fu- Why are you wasting our time with this? If the compiler says it's fine, then it's fine. Period.
The highlighter probably got confused while parsing, or forgot to update at some point.