fam
[Top] [All Lists]

Re: [fam] Fam OSS 2.6.2 Compile Errors

To: scherpo@xxxxxxxxxxx
Subject: Re: [fam] Fam OSS 2.6.2 Compile Errors
From: "Rusty Ballinger" <rusty@xxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Apr 2000 14:12:29 -0700
Cc: fam@xxxxxxxxxxx
In-reply-to: Elmoe Gingrin <elmoe@xxxxxxxxxxxxxxxxxxxxxxxxxxx> "Re: [fam] Fam OSS 2.6.2 Compile Errors" (Apr 5, 1:19pm)
References: <20000405104841.A4493@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <elmoe@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <10004051058.ZM26112@xxxxxxxxxxxxxxxxxx> <20000405131908.A5781@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: rusty@xxxxxxx
Sender: owner-fam@xxxxxxxxxxx
> As the error states, you are declaring an i/o handler of the name handler
> which is the same name as the structure which is a no-no if I am not
> mistaken?

Hrrmm... I think you're right.

Using the SGI compilers on IRIX (which normally conform to the ARM), and
turning on ANSI/ISO? conformance (-ansiE), fam fails to compile, so the
problem really does seem to be the code.  (I didn't see an equivalent flag
for egcs-2.91.66, which is apparently also not ANSI C++ by default.)

Ultimately the code should be fixed.  (Hey, got a patch?)  In the meantime,
does your compiler have a --bogo-code=ENABLED flag or something, or can you
use a different compiler?

--Rusty

P.S.  If someone goes through and fixes up the places where fam doesn't
conform to ANSI C++, it would probably also be a good time to make fam
compile cleanly with full warnings turned on.  (Currently, it definitely
doesn't.)  I probably won't do it myself anytime in the next couple of
weeks, unless it really bothers you and you don't want to send a patch.

--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>