From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: Re: # directive for # include giving me an error Date: Thu, 19 Feb 1998 11:51:33 +0100 Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 33 Message-ID: <34EC0EB5.72FAEE9C@LSTM.Ruhr-UNI-Bochum.De> References: <6cgd2j$g1u$1 AT news DOT sunflower DOT com> NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Bryant Baecht wrote: > > Hi, > I am just starting with the djgpp c and c++ compilers. I am running on > Windows NT 4.0. I have compiled and ran simple c programs, but I am having a > problem with the c++ compiler/preprocessor. For some reason I get the > following error: > > undefined or invalid # directive > > The line I get the error on is my #include line. > > I have setup the DJGPP environment variable, so what am I missing? The only thing I can imagine is a typo in that line. If there was something wrong with your set up, you'd get a file not found error. Maybe you have some unprintable character in that line, so just yank it and re-type it again. -- Ciao Tom ************************************************************* * Thomas Demmer * * Lehrstuhl fuer Stroemungsmechanik * * Ruhr-Uni-Bochum * * Universitaetsstr. 150 * * D-44780 Bochum * * Tel: +49 234 700 6434 * * Fax: +49 234 709 4162 * * http://www.lstm.ruhr-uni-bochum.de/~demmer * *************************************************************