|RE: [cdt-dev] Cycling pound includes check?|
I have been hit several times lately with cycling pound includes in the code and unfriendliness of the compiler regarding the issues like that. The error shows up at the strange place and it takes a while to trace it down just to find out that someone included a header file that had it already included before.
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Fedja Jeleskovic
Sent: Thursday, July 23, 2009 8:20 PM
To: CDT General developers list.
Subject: [cdt-dev] Cycling pound includes check?
Since CDT tells me right away if I have included header file that doesn't exist, could this circular check be added as well. From the high level it doesn't seem hard to do so, but things could be different down below.
Let me know!
Back to the top