Ex-chief of the general staff Richard Dannatt said defence spending should rise to a 3.5% share of the economy.