www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/19/17:30:25

From: Scott Billings <aerogemsx AT netins DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: C++ code doesn't compile
Date: Thu, 19 Mar 1998 16:21:53 -0600
Organization: netINS, Inc.
Lines: 20
Message-ID: <35119A81.8D281715@netins.net>
NNTP-Posting-Host: desm-13-20.dialup.netins.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Well, that's not entirely true, it just won't compile using GCC. If I
use something like GPP or G++ it will.

This seems to be a problem with both GCC 2.7.2.1 and 2.8.0 (I'm using
2.8 right now). If I try and compile something using the "gcc source.cpp
-o source.exe" I get all kinds of errors about an undefined referance to
cout and just about every other function I use. Yes, I did add the
#include <iostream.h> at the top. I've also tried the -X c++ switch to
no avail. I've even tried using different extensions, like .cc .cpp .cxx
... None work.

Anyone have any further suggestions?

--
                 Scott Billings
              aerogemsx AT netins DOT net
            Remove the "x" To Reply
http://www.netins.net/showcase/Comput-IT/scott/


- Raw text -


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