correct prototype for C++ compiler target type