From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: compiling Standard C Date: 22 May 2003 10:43:53 GMT Organization: Aachen University of Technology (RWTH) Lines: 25 Message-ID: References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1053600233 23644 137.226.32.75 (22 May 2003 10:43:53 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 22 May 2003 10:43:53 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Randy Rieger wrote: > I forget what switches to put in the command line if I want to compile my > code 'code.c' using ONLY standard C compiler. The question is a bit unclear. What exactly is your intention --- do you want to put the C compiler into a mode that accepts only standard C code? Such a mode doesn't exist. Some extensions are always available, albeit hidden in implementors' namespace where the standard doesn't care about them. But there are options to select what dialect of C the compiler will accept, mainly which extensions it turns on. See info gcc invoking "C dialect" and info gcc "C extensions" for more background. Or was it something completely different you were looking for. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.