From owner-freebsd-chat Sat Dec 28 19:25:54 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA10956 for chat-outgoing; Sat, 28 Dec 1996 19:25:54 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id TAA10951 for ; Sat, 28 Dec 1996 19:25:51 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id NAA02416; Sun, 29 Dec 1996 13:55:38 +1030 (CST) From: Michael Smith Message-Id: <199612290325.NAA02416@genesis.atrad.adelaide.edu.au> Subject: Re: Comments on using C++ instead of C In-Reply-To: from David Nugent at "Dec 29, 96 01:46:36 pm" To: davidn@sdev.usn.blaze.net.au (David Nugent) Date: Sun, 29 Dec 1996 13:55:37 +1030 (CST) Cc: francisco@natserv.com, chat@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-chat@freebsd.org X-Loop: FreeBSD.org Precedence: bulk David Nugent stands accused of saying: > > Name it .cc, .cxx, .cpp, .C or use -xc++ to force compilation > as C++. "info gcc" for the documentation. Avoid .cpp (despite Borland et. al using it) as this is traditionally used for C preprocessor food. .cc .cxx and .C are all recognised OK by the BSD makefiles. > David Nugent - Unique Computing Pty Ltd - Melbourne, Australia -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[