change typeNames to extern
suppress gcc warnings