Salaam.
Q: My question is about this verse (45:23) i want to know who it is referring to.
45:23 seems to refer to 2:6,7 - those who will not believe, warning, or no warning.
Q: Do people who suffer from (unlawful) addictions take their desires as God. Can they be considered as Mushriks. For example can someone who is heavily addicted to cannabis or pornography be deemed as kafirs.
After all, it is to warn all those who are slaves to passions, lusts, etc. - in fact, slaves to Satan (36:60,61) who is clearly, Man's enemy - and thus neglect the Hereafter, that God sent his Prophets.
The very first Commandment - the standing Commandment throughout all ages - is: Laa Thushrikoo Bihi Shaiaa (6:151).
Our standing Covenant with God is: Iyyaka Na'budu Wa Iyyaka Nastha'een (1:4)
The word Shaiaa ("anything") in 6:151 is significant, in that, it prohibits Shirk altogether!
Join not anything with him... (6:151).
"Anything" will mean whatsoever, and howsoever.
It may be that people addicted to cannabis and pornography are reformable.
But a Mu'min can never ever be complacent regarding such things.
Regards,
A. Ismail Sait.