Skip to content

Issue converting typedef pointers to checked types #619

Closed
@hasantouma

Description

@hasantouma

I came across this issue when converting the icecast code.

The issue can be illustrated with this small example:

#ifndef foo
#define foo int
#endif

int main() {
  foo* a;

  return 0;
}

checked-c-convert produces this:

#ifndef foo
#define foo int
#endif

int main() {
  _Ptr<int>  aa;

  return 0;
}

Note the variable name change and the _Ptr<> change from foo to int

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