#I compile using g++ and cmake. Who knows how to solve this problem when compiling?
8 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
Do you have a header that includes itself somehow?
This is likely to happen if you're lacking header guards, even just in one of them
This is what header guards look like:
#ifndef MY_HEADER
#define MY_HEADER
// your header contents
#endif//MY_HEADER
I'd start by looking at the file where this #include <cstdint> is located, hopefully you can trace it back to one of your own headers if it's not one already