Article View: comp.mail.elm
Article #3548Re: ELM 2.4PL17 and Encore93
From: Eric Peterson
Date: Tue, 26 Jan 1993 15:05
Date: Tue, 26 Jan 1993 15:05
36 lines
2078 bytes
2078 bytes
Mendez Marc (mendez@taliesin.greco-prog.fr) wrote:
| I have just tried to compile ELM 2.4PL17 on Encore 93, and it's wrong.
| I've got first a redeclaration of memcpy... (fixed: I suppressed the
| #define MEMCPY in line 256 in defs.h)
What version of Umax V are you running? I've built all patchlevels of
Elm 2.4 on a 93 running Umax V 3.1.2 with no difficulty whatsoever. If
you are running a previous release of 3.1, I'd recommend upgrading if
possible.
| But then, I found out a "va_dcl" symbol before the "{" of each
| function. What is it ? My compilator refuse it. Did I make a mistake
| during the configuration . What can I do ? Please, HELP NEEDED !!
The "va_dcl" is what's called a variable arguments declaration. This
is an old-style C construct commonly referred to as varargs(5) (Umax V
has a man page on this functionality). This functionality allows you
to pass a variable number of arguments to a single function.
Standard C reimplemented the varargs(5) functionality with a set of
functions collectively called stdarg, which does exactly the same
thing.
Since the varargs(5) functions are old-style C, you'll have to be sure
that you tell Configure to use the C compiler flag "-q extensions=pcc_c"
(which you can abbreviate "-q ext=pcc").
Let me know if you have any further problems configuring and building
Elm 2.4.
Eric
--
Eric Peterson <> epeterson@encore.com <> uunet!encore!epeterson
Encore Computer Corp. * Ft. Lauderdale, Florida * (305) 587-2900 x 5208
Why did Constantinople get the works? Gung'f abobql'f ohfvarff ohg gur Ghexf.
Technical Details
Message-ID:
<C1Gv9G.IuK@encore.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.encore.com!epetersoReferences:
<1993Jan25.200207.22680@greco-prog.fr>Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.elm Path: arc1-ca.pugleaf.net!sparky!uunet!news.encore.com!epeterso From: epeterso@encore.com (Eric Peterson) Subject: Re: ELM 2.4PL17 and Encore93 Organization: Encore Computer Corporation Date: Tue, 26 Jan 1993 15:05:39 GMT Message-ID: <C1Gv9G.IuK@encore.com> X-Newsreader: TIN [version 1.1 PL8] References: <1993Jan25.200207.22680@greco-prog.fr> Sender: news@encore.com (Usenet readnews user id) Nntp-Posting-Host: scrap.encore.com Lines: 37