cpp: get specs to compile