From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19964 invoked by alias); 17 Jun 2002 20:05:00 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 19928 invoked from network); 17 Jun 2002 20:04:56 -0000 Received: from unknown (HELO disaster.jaj.com) (66.93.20.253) by sources.redhat.com with SMTP; 17 Jun 2002 20:04:56 -0000 Received: (from phil@localhost) by disaster.jaj.com (8.11.4/8.11.4) id g5HK4qQ23565; Mon, 17 Jun 2002 15:04:52 -0500 Date: Mon, 17 Jun 2002 13:05:00 -0000 From: Phil Edwards To: Nicole Nails Cc: libstdc++@gcc.gnu.org, gcc-help@gcc.gnu.org Subject: Re: help!! Message-ID: <20020617160452.A23507@disaster.basement.lan> References: <20020617195757.13842.qmail@uwdvg001.cms.usa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020617195757.13842.qmail@uwdvg001.cms.usa.net>; from nnails@palm.net on Mon, Jun 17, 2002 at 07:57:57PM -0000 X-SW-Source: 2002-06/txt/msg00148.txt.bz2 Please don't send HTML email; more information is at gcc.gnu.org/lists.html On Mon, Jun 17, 2002 at 07:57:57PM -0000, Nicole Nails wrote: > I need though a list of all > possible errors the GNU compiler will detect when a student is attempting to > compile and/or run a program. In theory, anywhere the language rules say that a compiler must detect an error, we do so. For an exact list, look through the GCC source code for calls to the functions named "warning" and "error". Be aware that there are many mistakes in C and C++ that compilers cannot detect, or are not required to detect. Beginning students should probably use flags like -Wall -W -pedantic while learning the language. Phil -- If ye love wealth greater than liberty, the tranquility of servitude greater than the animating contest for freedom, go home and leave us in peace. We seek not your counsel, nor your arms. Crouch down and lick the hand that feeds you; and may posterity forget that ye were our countrymen. - Samuel Adams