#I compile using g++ and cmake. Who knows how to solve this problem when compiling?

8 messages · Page 1 of 1 (latest)

marble mirage
#

error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
1 | #include <cstdint>

hardy mirageBOT
#

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.

weary root
#

can you provide me with some more information

#

that seems very weird

granite sandal
#

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