Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site decvax.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!houxm!houxz!vax135!floyd!whuxle!mit-eddie!genrad!decvax!minow From: minow@decvax.UUCP (Martin Minow) Newsgroups: net.wanted,net.lang.c Subject: [Decus] C compiler for pdp-11 under RSX Message-ID: <8@decvax.UUCP> Date: Sat, 16-Jun-84 00:46:57 EDT Article-I.D.: decvax.8 Posted: Sat Jun 16 00:46:57 1984 Date-Received: Sun, 10-Jun-84 01:26:47 EDT References: <289@idis.UUCP> Organization: DEC UNIX Engineering Group Lines: 22 The current version of Decus C (November 1983 "Second Master Release") fixed a number of bugs and added a few useful features (such as floating- point and #if). It is available from Decus as 11-SP-18. The language still lacks several post V6 features, such as bitfields, enums, local block variables, direct initialization of local variables, and macros with arguments -- though a separate pre-processor is distributed. Since Decus C makes no pretense of supporting Unix features (or misfeatures), the "extern" problem currently under discussion is solved very simply: int foo; /* defined here, may be referenced elsewhere */ extern int foo; /* defined elsewhere, referenced here */ If you write "int foo;" (outside a function) in two files, you will get a link-editor (Task builder) error. Programs written using the above syntax are portable to most other C compilers. Martin Minow decvax!minow