dna error was not being set, allowing build to finish with DNA

allignment errors.
This commit is contained in:
Campbell Barton
2007-10-22 11:50:05 +00:00
parent e0668e9d22
commit 2dcc81071b

View File

@@ -714,8 +714,10 @@ static int calculate_structlens(int firststruct)
/* struct alignment */
if(type >= firststruct) {
if(sizeof(void *)==8 && (len % 8) )
if(sizeof(void *)==8 && (len % 8) ) {
printf("Align struct error: %s %s\n", types[structtype],cp);
dna_error = 1;
}
}
/* 2-4 aligned/ */