Sender: nate AT cartsys DOT com Message-ID: <36B15064.566591@cartsys.com> Date: Thu, 28 Jan 1999 22:08:36 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Help: C programs are OK, while I can't compile C++! References: <78nlsq$40j$1 AT nslave1 DOT tin DOT it> <78ogam$9p2$1 AT nslave1 DOT tin DOT it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Emanuele Z. wrote: > I checked the LFN line in djgpp.env, and it was already set to ?y?, > and I have no file truncated (since I used WinZip 7.0 to unzip all the > stuff). > > The compiler seems to find the libraries, but it looks like they were > full of sintax errors(!), since the compiler returns a lot of > occurrences of a strange ?parse error? when it tries to read the > libraries. Post them, please. And use `-v' when you compile, it includes a lot of useful info. > It happens any time I include a C++ library, even if I don't use any > C++ statement in my code, (even if I try to compile an empty program > like this:) To avoid confusion, that's not a library, it's a header file. A library is a precompiled chunk of code, and it's not even dealt with until the linking pass (and so your source has no effect on which libraries are linked). [snipped] -- Nate Eldredge nate AT cartsys DOT com