www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/29/01:13:15

Sender: nate AT cartsys DOT com
Message-ID: <36B15064.566591@cartsys.com>
Date: Thu, 28 Jan 1999 22:08:36 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
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> <D95E81B848CD7E3F DOT 5FDFA78853191281 DOT 528551932D93FE98 AT library-proxy DOT airnews DOT net> <78ogam$9p2$1 AT nslave1 DOT tin DOT it>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019