zsh-workers
 help / color / mirror / code / Atom feed
From: Andrej Borsenkow <borsenkow.msk@sni.de>
To: Zsh workers mailing list <zsh-workers@math.gatech.edu>
Subject: Slight adjustment to aclocal.m4 for SINIX
Date: Thu, 11 Jul 1996 15:00:05 +0400 (MOW)	[thread overview]
Message-ID: <Pine.SV4.3.94.960711145204.17975I-100000@itsrm1> (raw)

Hi!

The general problem with ANSI C on our system (SINIX MIPS + C-DS):

compiler can be run in several modes - K&R, ANSI, and `strict' ANSI. In
K&R it still accepts prototypes, but doesn't obey ANSI rules - so it
cannot be seen as ANSI conform; in ANSI it is O.K.; in `strict' mode some
headers magically disappear and nothing compiles ;)

configure checks only for STDC and wether protoypes are accepted - thus
our cc fools it in believing it deals with ANSI, ehich is not the case.

I added additional check: if first check for proto is succesful, check, if
compiler *rejects* passing wrong parameter to function. If yes, it could
be seen as ANSi with a little greater probability ;0)

I hope, it won't cause the check fail on other systems - if it will cause
problems, well, I can add check for mips-sni*. But if check fails, it
would mean non-ANSI compiler!!!

-kansi hast to be before -Xc, because -Xc puts cc in `strict' mode
(documented nowhere - but is a fact).

thanks if you accept it

greetings

-------------------------------------------------------------------------
Andrej Borsenkow 		Fax:   +7 (095) 252 01 05
SNI ITS Moscow			Tel:   +7 (095) 252 13 88

NERV:  borsenkow.msk		E-Mail: borsenkow.msk@sni.de
-------------------------------------------------------------------------




                 reply	other threads:[~1996-07-11 11:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SV4.3.94.960711145204.17975I-100000@itsrm1 \
    --to=borsenkow.msk@sni.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).