Skip to content

strcpy error in PythonUtils.cpp #790

@a01163125

Description

@a01163125

Natron\Global\PythonUtils.cpp
char* pathCpy = strcpy(path.c_str());

Error (active) E0167 argument of type "const char *" is incompatible with parameter of type "char *" Engine
Error (active) E0165 too few arguments in function call Engine

Hi, everyone. I encountered this issue like above. I googled strcpy function, there are no examples like only take single parameter. Is anyone knows the real solution, of course I know I could prefix with (char*) just do not want change the source code.

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