Skip to content

Fix -Wdeprecated-declarations error in PluginActivityLogFile test#873

Merged
partaror merged 2 commits intoqualcomm:mainfrom
svs-quic:removeSymbolTableEntry
Feb 26, 2026
Merged

Fix -Wdeprecated-declarations error in PluginActivityLogFile test#873
partaror merged 2 commits intoqualcomm:mainfrom
svs-quic:removeSymbolTableEntry

Conversation

@svs-quic
Copy link
Contributor

@svs-quic svs-quic commented Feb 26, 2026

The deprecated removeSymbolTableEntry API was used in the test in #588 leading to the following error:

test/Common/Plugin/PluginActivityLogFile/PluginActivityLogPlugin.cpp:69:18: error: 'removeSymbolTableEntry' is deprecated [-Werror,-Wdeprecated-declarations]
   69 |     getLinker()->removeSymbolTableEntry(expBazSymbol.value());
      |     
      ^

Fix it by adding -Wno-deprecated-declarations to the compilation flags.

Signed-off-by: Sudharsan Veeravalli <svs@qti.qualcomm.com>
Signed-off-by: Sudharsan Veeravalli <svs@qti.qualcomm.com>
@partaror partaror merged commit 11af6f6 into qualcomm:main Feb 26, 2026
3 checks passed
@svs-quic svs-quic deleted the removeSymbolTableEntry branch February 27, 2026 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants