This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

struct pointer initialization


hello,everyone!I find some problem in following statements :
  the_block= (struct  Heap_Block *)0xdd800;
  the_block->back_flag = 1;
  the_block->front_flag = 0x22800;
  the_block->next=(struct  Heap_Block *)0;
  the_block->previous=(struct  Heap_Block *)0;
In first statement,struct pointer the_block is pointed to address 0xdd800.But the four elements of struct the_block can't be initialized.Their contents all are 0xffffffff.The above initial statements has no effect on the content of four element.It result in failure in  work space initialization.How to solve it?Thanks in advance for any help.

_____________________________________________
首都在线--先进中国人的网上家园 http://www.263.net
免费邮箱 邮件杂志 签名邮件 邮件加密 邮件追身呼
搜索引擎 个人站点 在线游戏 网上聊天 网上挂号
金融王国 在线杀毒 跳蚤市场 软件下载 休闲娱乐

_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]