
easy yet frustrating variable order problem
I have the following global varialbe declarations:
char data_1,
data_2,
data_3;
Checking their address with dissembly window, I see all three variables
are arranged as follows:
data_1, data_2, data_3, which is what one would expect.
Then I add another variable such that:
char data_1,
data_2,
data_4
data_3;
But instead of the expected arrangement of data_1, data_2, data_4,
data_3, the VC actually has data_1, data_2, data_3, data_4, totally
ignoring my explicit data orgnization.
I tried rebuilt and recompile program options to no avail. How can I
force the compiler to generate data in the order I specify? Thanks.
Sent via Deja.com http://www.deja.com/
Before you buy.