Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903680

Dependency checker doesn't handle function pointers and nested types

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • None
    • tools
    • None

      Consider this case:

      struct A { };

      typedef struct { struct A a; } P;

      Where P is included, but A is not. No error is emitted.

      The dependency checker is missing code to recurse into function pointers, and also into nested declarations.

            mcimadamore Maurizio Cimadamore
            mcimadamore Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: