NO

Author Topic: Multiple .rdata warning  (Read 3637 times)

Andy

  • Guest
Multiple .rdata warning
« on: November 06, 2004, 12:55:12 PM »
Hi,

first of all thanks for this wonderful tool!!! I am currently doing my first steps with PellesC and have one question: When I build the reversi example for PocketPC I get a POLINK warning "Multiple '.rdata' sections found with different attributes (0x40000040 and 0xc0000040)." What does this mean and how can I avoid this warning?

Thanks in advance for your help!

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Multiple .rdata warning
« Reply #1 on: November 06, 2004, 02:03:42 PM »
Quote from: "Andy"
first of all thanks for this wonderful tool!!!

Thanks! :)

Quote from: "Andy"

When I build the reversi example for PocketPC I get a POLINK warning "Multiple '.rdata' sections found with different attributes (0x40000040 and 0xc0000040)." What does this mean and how can I avoid this warning?

It's an annoying, but otherwise harmless warning. Since it's harmless, it hasn't been a top priority to fix. On the Pocket PC, I use the Microsoft runtime libraries - basically to save memory on the device. This means I have less control over it's content, compared to desktop Windows. It's a disagreement about a memory block - I want it to be read-only, Microsoft wants it to be read-write. The linker should do 'the right thing'.

Pelle
/Pelle