But data unalignment is not neccessarily the same as accessing a single byte. Data alignment is a problem when reading in a variable that will span an address ''bank''. A byte will never do that.
I don''t know exactly what the Alpha does (I know data alignment throws an exception, but I wouldn''t think it is the same problem as reading a single byte), but how many people support the Alpha?
Just make sure you don''t mix the two bool types. I''m trying to think of a way to fix a problem in my current contract because the programmers were passing the address of a BOOL, but the function accepted and treated it as a bool (idiots). Big mess that touches about every file in the project.
Rock
is there a difference between bool and BOOL?
Data alignment shouldn''t be a problem if you''re using a reasonably up to date compiler, with the proper options it should so data alignment on the variables automaticly. I know vc++ 5 & 6 do this and gcc for linux does.
Ya wanna know what? I use "bool" because i like that blue color it turns .
NOTHING MATTERS BUT THE COLORS!!
NOTHING MATTERS BUT THE COLORS!!
THE COLORS!!!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement