summaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-08 08:18:09 -0700
committerKaz Kylheku <kaz@kylheku.com>2011-10-08 08:18:09 -0700
commit56166f465a6ab4fb5ac0fdfe31e672f36aa823df (patch)
tree563bac41c4b49abf246431578b2f4a85a3476572 /HACKING
parent6b831477fae6e4fc69817d222482cb9f5d8cc760 (diff)
downloadtxr-56166f465a6ab4fb5ac0fdfe31e672f36aa823df.tar.gz
txr-56166f465a6ab4fb5ac0fdfe31e672f36aa823df.tar.bz2
txr-56166f465a6ab4fb5ac0fdfe31e672f36aa823df.zip
* HACKING: Formatting.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING18
1 files changed, 10 insertions, 8 deletions
diff --git a/HACKING b/HACKING
index 9bece404..e925566b 100644
--- a/HACKING
+++ b/HACKING
@@ -39,14 +39,16 @@ provide rationale and make coding recommendations.
1.1 Language
-Txr is written in a language that consists of the common dialect between C90 and C++98.
-The code can be built with either the GNU C compiler or the GNU C++ compiler.
-Use is made of some POSIX.2 functions, which are requested by means of -D_POSIX_2_SOURCE.
-Also, the <wchar.h> header is used, which was introduced by a 1995 addendum
-to the C language, so it may be said that the actual C dialect is C95.
-
-In coding new features or fixing bugs, care must be taken to preserve this. Code must
-continue to compile as C and C++, and not increase the portability requirements.
+Txr is written in a language that consists of the common dialect between C90
+and C++98. The code can be built with either the GNU C compiler or the GNU C++
+compiler. Use is made of some POSIX.2 functions, which are requested by means
+of -D_POSIX_2_SOURCE. Also, the <wchar.h> header is used, which was introduced
+by a 1995 addendum to the C language, so it may be said that the actual C
+dialect is C95.
+
+In coding new features or fixing bugs, care must be taken to preserve this.
+Code must continue to compile as C and C++, and not increase the portability
+requirements.
C++ compilation can be arranged using ./configure --ccname=g++ (for instance).