Date: Thu, 4 Sep 1997 20:41:04 +0300 (IDT) From: Eli Zaretskii To: SerDevian cc: djgpp AT delorie DOT com Subject: Re: gcc/gxx c++ -> .o (#defines) In-Reply-To: <3406F325.41C6@CS.ColoState.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.