aboutsummaryrefslogtreecommitdiffstats
path: root/Hacking
diff options
context:
space:
mode:
authorpowwow@askgustav.com <powwow@askgustav.com>2019-03-18 23:05:26 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2019-04-23 20:37:05 (GMT)
commit304a722c426f47a461dc88c4493f800c0690b29b (patch)
tree151b974354c0c7ec4e89649a949db32f11b56442 /Hacking
parent7db984561ef8fd0ff9165288324dbc81516113f0 (diff)
downloadpowwow-304a722c426f47a461dc88c4493f800c0690b29b.zip
powwow-304a722c426f47a461dc88c4493f800c0690b29b.tar.gz
powwow-304a722c426f47a461dc88c4493f800c0690b29b.tar.bz2
remove some non-ANSI C support
Diffstat (limited to 'Hacking')
-rw-r--r--Hacking19
1 files changed, 0 insertions, 19 deletions
diff --git a/Hacking b/Hacking
index 5cf46d1..2063884 100644
--- a/Hacking
+++ b/Hacking
@@ -7,25 +7,6 @@ improve powwow, fix bugs or just have fun:
maintain his own code, who can?). If you write any new functions,
ok, use your own style as long as it's clear and consistent.
-* For portability, powwow is written using a few #defines that can
- generate either K&R and ANSI function prototypes depending on the compiler,
- so that it (should) compile fine in both cases.
- If people convince me that non-ANSI compilers are rare enough these days,
- we could switch to ANSI-only prototypes. Even then, please, do NOT
- use any gcc-specific features (I've seen the char constant '\e' in some
- places) even if gcc is very common. Our goal should be to let the
- maximum number of people use powwow. (Most non-ANSI compilers grok
- void and unsigned, so these are safe to use.)
-
-* For the same reason, do NOT use C++ style comments //
-
-* To sum it up, assume that the user has:
- - a non-ANSI C compiler (use the __P, __P0, __P1, ... defines!)
- - an exotic non-VT100 terminal (use TERMCAP!), possibly on a slow line
- - a slow workstation, or a larger computer shared by 100 users and
- aggressive sysadmins who think that mudding doesn't justify 10% or
- even 5% CPU load.
-
* Document your changes! A brief report of changes in the Changelog file is
absolutely necessary. So is updating the doc files (powwow.doc, powwow_help
and README) Also, sending an e-mail to the code author/mantainer documenting