Macromolecular compounds obtained by reactions only involving unsaturated carbon-to-carbon bonds