GNOME Bugzilla – Bug 582211
INCLUDE_RECURSION
Last modified: 2010-06-14 06:52:02 UTC
Please describe the problem: The PW.INCLUDE_RECURSION warning reports recursive header file problems that can cause the code to not compile, or that cause incorrect run-time behavior. Code might not compile if there is a dependency cycle in two header files that are included. Incorrect run-time behavior can occur because of function overloading, for example. Also, recursive include files can be difficult to maintain and problems difficult to fix. #include file "libxml/threads.h" includes itself: threads.h -> globals.h -> threads.h Steps to reproduce: 1. File "libxml2\include\libxml\globals.h" 2. Line# 166 => #include <libxml/threads.h> 3. #include file "libxml/threads.h" includes itself: threads.h -> globals.h -> threads.h Actual results: Expected results: Does this happen every time? Other information:
Whatever myserious tool it is that shows this, it seems to be a libxml issue rather than a libxml++ issue.
*** This bug has been marked as a duplicate of bug 582213 ***