Removed all gcc warnings