Add a warning header to the temporary generated file