Thank you for your reply, I understand it.
Actually the question is more : whether this is a bug or not in LCC compiler, and in this subject we have advanced in another discussion group. See on the comp.compilers. lcc on google groups if you are interested further.
Otherwise, thank you for the time you spent in answering this question, I appreciate !
User Profile
Collapse
Profile Sidebar
Collapse
mathay lucien
Last Activity: Jun 8 '12, 01:09 PM
Joined: Jun 6 '12
Location:
-
lcc compiler bug report
Can anyone tell me why, if the following code is legal, in lcc the first initialization is performed well, but the second one not ?
int a= 1; int adress_of_a= (int) &a;
---> this works fine, adress_of_a is initialized with 0x0040....
int a= 1; int adress_of_a[1]= { (int) &a };
---> this does not work, adress_of_a is initialized with 00000000.
Thank you for your...
No activity results to display
Show More
Leave a comment: