The L1408 warning

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The L1408 warning

Jump to solution
449 Views
john_seratel
Contributor I

I am using the XE100 with the -Ml large model

 

I have a large array unsigned char heap[heap] defined across 2 RAM segments, ie 8k byyes

 

using .prm with

 

      RAM_F0        = NO_INIT  0xF01000'G TO 0xF11FFF'G;

 

      HEAP_RAM          INTO  RAM_F0;

 

I use the declaration

#pragma DATA_SEG __GPAGE_SEG HEAP_RAM
 unsigned char heap[ 8192 ];
#pragma DATA_SEG DEFAULT

 

This compiles but generates a linker warning L1408: Conversion of address of heap overflowed 0xF01000´G

 

However the .map file show the 0x2000 bytes to be allocated correctly at 0xF01000'G

 

The "What is this" information talks about excessive debug information. Is there a further flag that needs to be set in CodeWarrior v5 to debud global addressing?

 

Thanks

Labels (1)
0 Kudos
1 Solution
340 Views
kef
Specialist I

The top most global address is 0x7FFFFF'G.

View solution in original post

0 Kudos
2 Replies
341 Views
kef
Specialist I

The top most global address is 0x7FFFFF'G.

0 Kudos
340 Views
john_seratel
Contributor I

So true. The global map 0x0F_FFFF'G - 64k = 0x0F000'G. Thanks prm was wrong

0 Kudos