I've never had WD40 gum - I've heard from people that it does, just never observed that myself in my guns, nor has Taylor nor anyone else I know. Perhaps not leaving a puddle of it somewhere is the reason for this - we don't and I cannot figure why anyone would leave a puddle of anything on or in their gun. No varnish, no gum, no puddle.
Use whatever works for you.