Macromolecular compounds obtained by reactions forming an ether link in the main chain of the macromolecule characterised by the polymer type