Skip to content

fatal error in producing log messages #13

@mamoll

Description

@mamoll

I get this error with pygccxml 1.6.0:

  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pygccxml/declarations/class_declaration.py", line 603, in find_noncopyable_vars
    message +
UnboundLocalError: local variable 'message' referenced before assignment

I am not sure what message should be initialized to in line 603 of declarations/class_declaration.py.

There also non-fatal errors in the logger.debug(...) calls in lines 589-597. These can be fixed by putting parentheses around message + " - array" (analogous for the other cases) to force self.decl_string to match %s in message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions