On 30 Apr 2008, at 19:54, Riku Voipio wrote:
Package: dnprogs
Version: 2.43
Severit: important
Current dnprogs fails to build on arm/armel due to usage of '$'
character as identifier in C source code. These appear to come
from rabdef.h.
See: http://buildd.debian.org/build.php?pkg=dnprogs&arch=arm
Fixing is really trivial, just use some other allowed character than
"$"
as identifier.
ISO C defines identifiers as [a-zA-Z0-9_], and supporting other
characters
is implementation specific. In other words, using them is not
portable.
GCC in general allows $, but Arm EABI reserves $ for internal ABI
symbols.
I'm really reluctant to change this. The files I am using, rabdef.h
and fabdef.h are imported from VMS and I very keen to keep
compatibility with those symbols. VMS uses $ signs rather a lot in
symbols!
Is there no way of allowing these symbols on ARM ? gcc used to have -
fdollars-in-identifiers (which I probably still have set) to enable
them.
if it's really impossible to incorporate these symbols, it might just
be easier to disable dnprogs (or maybe just librms) on ARM. I doubt
there are any users and I don't even know if the kernel part of the
DECnet stack works on that architecture!
Christine
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]