DynamoRIO / DynamoRIO/dynamorio

Add support to show warning for deprecated symbols during build

Open
#5,315 0 comments 0 reactions 0 assignees View on GitHub
Type-Feature
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

It would be good to have a way to show build warnings for usages of deprecated symbols. In #5313, we renamed a macro but we had to keep the old name as it was already released in an official release. The same could be done for deprecated command line options (I remember we plan to remove many that are always on/off).

We could do something like the following to avoid deprecated symbols from piling up in the code base:

1. Mark a symbol as deprecated
2. Release
< all user builds will show a warning for usages of the deprecated symbol >
3. Remove the deprecated symbol
4. Release
< at this point, it is expected that users would have stopped using the deprecated symbol >

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.