🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.palmtops.pilot
Article #128

Re: PC relative strings no longer PC relative .

#128
From: Ben Combee
Date: Mon, 15 Mar 2004 19:29
14 lines
2062 bytes
Neil wrote:
> I have recently up-graded from CW V8 to CW V9, and am now having
> problems with code that used to work.
> 
> When I try to load a shared libray using the code below during any of
> the non-global launch codes, the application crashes complainig it has
> accessed a global variable.
> 
> This seams to be the WireLessLibName parameter to SysLibFind.

Make your function "static inline", not just "inline".  This is a 
front-end change to fix a bug -- if your code if just "inline", then all 
copies of the code have to share the same string constants, which means 
forcing them into the global data pool.
Technical Details
Message-ID: <oun5c.22772$%06.12436@newsread2.news.pas.earthlink.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!7867dc9d!not-for-mail
References: <37c90db1.0403150636.1f72ced5@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10baa0,3a88201345f44a71
X-Google-Attributes: gid10baa0,public
X-Google-Thread: 112073,3a88201345f44a71
X-Google-Attributes: gid112073,public
X-Google-ArrivalTime: 2004-03-15 11:29:25 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!7867dc9d!not-for-mail
From: Ben Combee <combee@techwood.org>
User-Agent: Mozilla Thunderbird 0.5a (Windows/20040128)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.sys.palmtops.pilot,codewarrior.palm
Subject: Re: PC relative  strings no longer PC relative .
References: <37c90db1.0403150636.1f72ced5@posting.google.com>
In-Reply-To: <37c90db1.0403150636.1f72ced5@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 14
Message-ID: <oun5c.22772$%06.12436@newsread2.news.pas.earthlink.net>
Date: Mon, 15 Mar 2004 19:29:24 GMT
NNTP-Posting-Host: 63.246.172.161
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.news.pas.earthlink.net 1079378964 63.246.172.161 (Mon, 15 Mar 2004 11:29:24 PST)
NNTP-Posting-Date: Mon, 15 Mar 2004 11:29:24 PST
Organization: EarthLink Inc. -- http://www.EarthLink.net