- cpp_error (pfile, DL_WARNING,
- "%s: created on host `%.*s', but used on host `%s'", name,
- v.host_machine_length, short_strings, host_machine);
- return 2;
- }
- if (v.target_machine_length != strlen (target_machine)
- || memcmp (target_machine, short_strings + v.host_machine_length,
- strlen (target_machine)) != 0)
- {
- if (cpp_get_options (pfile)->warn_invalid_pch)
- cpp_error (pfile, DL_WARNING,
- "%s: created for target `%.*s', but used for target `%s'",
- name, v.target_machine_length,
- short_strings + v.host_machine_length, target_machine);
- return 2;
- }
- if (v.version_length != strlen (version_string)
- || memcmp (version_string,
- (short_strings + v.host_machine_length
- + v.target_machine_length),
- v.version_length) != 0)
- {
- if (cpp_get_options (pfile)->warn_invalid_pch)
- cpp_error (pfile, DL_WARNING,
- "%s: created by version `%.*s', but this is version `%s'",
- name, v.version_length,
- (short_strings + v.host_machine_length
- + v.target_machine_length),
- version_string);