www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/08/13:15:21

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: My GCC does not compile the C++ source
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <uad0ps0d49ofan42hdooi2mnsu6f3eqdut@4ax.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000808152352 DOT 7299A-100000 AT is> <39902008 DOT 18806900 AT news DOT free DOT fr>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 25
X-Trace: /Kw5eC4w44gCSvRcPKFzByXkECybtqbYrjMRu1bWZ9D2Plv52F4VMfnmBb5HSEzgizBHVI2BzGgs!PZD06XOM893ojPAcqRQVOgceFWDOzaWvADYzMjhbmPd/FtBW7B+nbb7hkHN+TQfmIa462BAneDXE!Qmgq
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Tue, 08 Aug 2000 17:05:52 GMT
Distribution: world
Date: Tue, 08 Aug 2000 17:05:52 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Tue, 08 Aug 2000 15:02:38 GMT, donho AT altern DOT org (Don HO) wrote:

>ccaa.cc:2: warning: namespaces are mostly broken in this version of
>g++
>
>What does it mean? 

Are you using version 2.95.2 (the latest version) of gcc and gpp?
Older versions don't support namespaces well.

>Another question : 
>It seems that the GCC is the compiler for C and GXX is the one for
>C++. But when I compile the C source with GXX, it works also (I tried
>it only one time)! In this case, why GCC.EXE?

What gxx/gpp does is call the same helper apps gcc does, but it adds
-lstdcxx to the command line it passes to `ld'.

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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