From owner-freebsd-questions@FreeBSD.ORG Tue May 29 22:26:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 968E216A400 for ; Tue, 29 May 2007 22:26:21 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from host222.ipowerweb.com (host222.ipowerweb.com [66.235.210.10]) by mx1.freebsd.org (Postfix) with SMTP id 76BCE13C44B for ; Tue, 29 May 2007 22:26:21 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 44710 invoked from network); 29 May 2007 22:23:28 -0000 Received: from unknown (HELO demeter.hydra) (24.9.123.251) by host222.ipowerweb.com with SMTP; 29 May 2007 22:23:28 -0000 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id l4TMQIH9039309 for ; Tue, 29 May 2007 16:26:19 -0600 (MDT) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id l4TMQIFM039308 for freebsd-questions@freebsd.org; Tue, 29 May 2007 16:26:18 -0600 (MDT) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Tue, 29 May 2007 16:26:18 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20070529222617.GA39269@demeter.hydra> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: difference between c89 and c99 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 22:26:21 -0000 It has been years since I've worked with the C programming language at all, and I've forgotten most of what little I knew then. Now that I'm starting to look into learning C (again-ish), for purposes of perhaps contributing code to some FreeBSD projects, I find myself staring at the available compilers in the base system for FreeBSD and wondering at the differences. Any information I can get on the subject would be much appreciated. For instance: What's the difference between c89 and c99? Is there any reason to avoid c*9 in favor of gcc (or vice versa) when working on FreeBSD projects? Please don't necessarily limit yourself to these questions if/when you choose to give me an answer. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Paul Graham: "Real ugliness is not harsh-looking syntax, but having to build programs out of the wrong concepts."