delorie.com/archives/browse.cgi | search |
Date: | Thu, 4 Sep 1997 20:41:04 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | SerDevian <scriven AT CS DOT ColoState DOT edu> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: gcc/gxx c++ -> .o (#defines) |
In-Reply-To: | <3406F325.41C6@CS.ColoState.edu> |
Message-ID: | <Pine.SUN.3.91.970904204046.27525K-100000@is> |
MIME-Version: | 1.0 |
On Fri, 29 Aug 1997, SerDevian wrote: > > i.e. gcc -c code.cc will work fine. > > That's how I expected it to act, but when compiling files with a ".cc" > extension, gcc didn't "#define __cplusplus". __cplusplus should be defined automatically when you compile a .cc file. Please post the minimal source that can be compiled, and which exhibits the problem on your machine.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |