User Profile

Collapse

Profile Sidebar

Collapse
mathay lucien
mathay lucien
Last Activity: Jun 8 '12, 01:09 PM
Joined: Jun 6 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mathay lucien
    replied to lcc compiler bug report
    in C
    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 !
    See more | Go to post

    Leave a comment:


  • mathay lucien
    started a topic lcc compiler bug report
    in C

    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...
    See more | Go to post
No activity results to display
Show More
Working...