Coating compositions based on macromolecular compounds obtained by reactions forming a carbon-to-carbon link in the main chain Coating compositions based on derivatives of such polymers