I am having an option clash for package textcomp, it happens with this code:
\documentclass{book}
\usepackage{newtxtext}
\usepackage{minted}
\usepackage{xwatermark}
\begin{document}
Hi
\end{document}
But only happens when those 3 packages are together, there is no problem if one is missing i.e., newtxtext + minted, minted + xwatermark or newtxtext + xwatermark works fine, but newtxtext + minted + xwatermark generates the error.
I tried adding \PreventPackageFromLoading{textcomp} before newtxtext, and it indeed work, but I don't know if this is affecting something in the background that I am not aware of. Anyone have a better solution for this?