From: tom@finwds01.tu-graz.ac.at (Thomas Leitner)
Subject: Re: More decc problems on alpha6.1
Date: 1996/05/08 [thread overview]
Message-ID: <4mq9cm$ffi@fstgal00.tu-graz.ac.at> (raw)
In-Reply-To: 4mo0dp$6ic@explorer.csc.com
Cindy,
Cynthia Agard (cagard@csc.com) wrote:
> This old fortran vax/vms programmer is having problems with decc alpha 6.1
> environment.
>
> Tell me what is wrong with this??
> I'm skipping over stuff and showing you the meat of my problem.
> Hopefully it is easy and you'll see it 1,2,3.
>
> --------------------
> The following is contained in a single module which blows up whenever
> I run it.
[...]
> suffix_loc = strlen (attrname) - 1;
> attrname [suffix_loc]++; /*=====THIS IS WHERE IT EXPLODES ACC VIO */
[...]
Not being a dedicated VMS/DECC programmer but a multiplatform programmer,
I guess that the compiler puts static char constants in a read-only
segment and you can't modify that. Perhaps there's a compiler switch
to turn that off.
Hope that helps -- Tom
--
Tom Leitner, tom@finwds01.tu-graz.ac.at |\ _,,,---,,_
Dept. of Communications zzz. /,`.-'`' -. ;-;;,_.
Graz University of Technology |,4- ) )-,_. ,\ ( `'-'
Inffeldgasse 12 '---''(_/--' `-'\_)
A-8010 Graz / Austria / Europe, Phone: +43-316-873-7455, Fax: +43-316-463-697
WWW home page: http://wiis.tu-graz.ac.at/people/tom.html
next prev parent reply other threads:[~1996-05-08 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-07 4:00 More decc problems on alpha6.1 Cynthia Agard
1996-05-08 4:00 ` Thomas Leitner [this message]
1996-05-10 4:00 ` Steve Lionel
1996-05-10 4:00 ` Stephen Hoffman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox