| |

VerySource

 Forgot password?
 Register
Search
View: 918|Reply: 0

Error: conflicting types for xxx previous declaration of xxx

[Copy link]

2

Threads

3

Posts

0.00

Credits

Newbie

Rank: 1

Credits
0.00

 China

Post time: 2020-12-22 16:55:54
| Show all posts |Read mode
Error: conflicting types for xxx
    previous declaration of xxx
In fact, "re-quoted" means that a header file has been included multiple times in the same cpp file. This error is often caused by nested include. For example: there is a.h file #include "c.h" and the b.cpp file imports #include "a.h" and #include "c.h" at this time, which will cause c.h to be repeatedly quoted.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list