GCC compiler error: “redefinition…previously defined”

前端 未结 4 1812
再見小時候
再見小時候 2021-02-02 15:39

I\'m getting a lot of \" redefinition of x....x previously defined here\". Please what does this error means?

4条回答
  •  后悔当初
    2021-02-02 16:30

    The same thing just happened to me and it was because I accidentally included the .c/.cpp file (within it) instead of the header file.

    That would definitely get you a lot of that error.

提交回复
热议问题