Skip to content
Snippets Groups Projects
Commit 3fc5f3e5 authored by BenceJanosSzabo's avatar BenceJanosSzabo
Browse files

when wrong compiler version detected, suggest make clean (artf743325)


Change-Id: I82483baf2cec0819755be4314cf12026c183796c
Signed-off-by: default avatarBenceJanosSzabo <bence.janos.szabo@ericsson.com>
parent 693c8670
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,8 @@ if ( scalar keys %versions > 1 ) {
warn "Compiled with $compiler $ver: ", join(', ', @$ref), "\n";
}
die "Error! All object files should be compiled with the same compiler version.\n"
. "The following $compiler versions were detected: ", join(', ', keys %versions);
. "The following $compiler versions were detected: ", join(', ', keys %versions),
"\nRun make clean and make to recompile the project if the version of the compiler changed recently.";
}
__END__
......
......@@ -245,7 +245,8 @@ void write_output(output_struct *output, const char *module_name,
"#if TTCN3_VERSION != %d\n"
"#error Version mismatch detected.\\\n"
" Please check the version of the %s compiler and the "
"base library.\n"
"base library.\\\n"
" Run make clean and rebuild the project if the version of the compiler changed recently.\n"
"#endif\n",
TTCN3_VERSION, is_ttcn ? "TTCN-3" : "ASN.1");
/* Check the platform matches */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment