Re: extern const variables link incorrectly

2004-05-16 Thread Jochen Immendörfer
Hello, a few months ago, I had the same problem. Ton van Overbeek told me, that this problem is known as bug #221845 (http://sourceforge.net/tracker/index.php?func=detail&aid=221845&group_id=4429&atid=104429). You can find his original answer here: http://www.escribe.com/computing/pcpqa/m84537.h

extern const variables link incorrectly

2004-05-16 Thread jimrandomh
Using prc-tools (2.3), if I declare some constant data in one compilation unit and try to use it in another, I get garbage. If I move them into the same unit, or make the data non-const, it works. I was able to reproduce this on a single-segment test case, and the type or size of data doesn't seem