AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

Inconsistent use of sscanf macro from Platform.h

Open
#2,257 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.1k
Forks
503
PR merge metrics
No merged PRs in 30d

Description

We have a number of files where we use sscanf() sometimes we use the macro from Platform.h, other times we explicitly #ifdef _WIN32.

The macro usage is fragile, we should make the code consistent in using whatever solution we decide, at a minimum I would propose all code should use the macro, though ideally we should also replace the macro with something more suitably robust

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.