Multiple .rdata warning

Started by Andy, November 06, 2004, 12:55:12 PM

Previous topic - Next topic

Andy

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!

Pelle

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