TIP: Click on subject to list as thread! ANSI
echo: locuser
to: Roy McNeill
from: Paul Edwards
date: 1996-08-03 04:02:08
subject: indent

RM> I did, and it's a mess. The .exe file in the zip file says it can't
RM> find emx.exe, and terminates itself, so I had a go at compiling the

You need to get the EMX runtime for DOS.  FREQ EMXRT.ZIP and also DPMIGCC5.ZIP.

RM> source. No chance. Most of the functions are not declared in header
RM> files, so calls from other files fail. There are two different
RM> calling techniques used for the function diag() - (int, char*, int,
RM> int) and (int, char*, char*) - the compiler just loved that. A heap
RM> of functions requiring stdio.h, stdlib.h, string.h, fcntl.h, and
RM> io.h are used, although none of those headers are d.

From memory, the thing compiled with EMX already, and I went and just
changed some of the code to fix up the indenting.

RM> parentheses"), and even now it don't go proper. A number of lines
RM> it just fails to recognize, including every line starting with #
RM> except #else and #endif, and "case x:" statements - it just deletes
RM> them and writes a single P (correctly indented) instead. I can't

Use my .exe.  I have put the entire MSGED through it.

RM> get it to keep the "int" and the "foo(void)" in
"int foo(void)" on
RM> the same line, no matter what parameters I use.

I use...

-kr
-bl
-bli0
-i4
-ts1
-nce
-ncs
-fca
-nfc1

And have no problem with that.  BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.