Throw an error and prevent compilation if there're unknown structures detected by DNA

This commit is contained in:
Sergey Sharybin 2012-05-04 08:18:47 +00:00
parent a899ce19d0
commit 549b3ccba1
1 changed files with 2 additions and 0 deletions

View File

@ -874,6 +874,8 @@ static int calculate_structlens(int firststruct)
printf(" %s\n", types[structtype]);
}
}
dna_error = 1;
}
return(dna_error);