🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1313

Maybe I'm just stupid or something

#1313
From: Joshua Cicora
Date: Wed, 20 Dec 2000 18:51
25 lines
1725 bytes
Arrg... I don't understand this and its gotta be so simple that I'm gonna
shoot myself when I figure it out.  I just got back to CW4 and I'm trying to
compile the exceedingly simple program of:
#include <iostream.h>


int main (){
    cout << "what";
    return 0;
}

Include with this c++ file I have the following libraries (trying anything
to get it to work):  ANSI C++.PPC.Lib, ANSI C.PPC.Lib, InterfaceLib,
MWCRuntime.Lib, Complex.PPC.Lib, ToolsLib.o, and MathLib.

And I keep getting this as an error when I hit make:
 �� Link Error   : undefined: �__PROFILE� (code)
   Referenced from �__sinit_Second.cp_1� in Second.cp
�� Link Error   : undefined: �__PROFILE� (code)
   Referenced from �main� in Second.cp


I set the source model (under preferences) to ANSI C++.

Am I just dumb?  Why isn't this working?   Thanks sooo much!
Technical Details
Message-ID: <B66669EF.12FD%jcicora@udel.edu>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f635e,4a43ea6437c51d0a,start
X-Google-Attributes: gidf635e,public
X-Google-Thread: 10bcce,4a43ea6437c51d0a,start
X-Google-Attributes: gid10bcce,public
X-Google-ArrivalTime: 2000-12-20 10:53:06 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: Joshua Cicora <jcicora@udel.edu>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Maybe I'm just stupid or something
Date: Wed, 20 Dec 2000 13:51:44 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <B66669EF.12FD%jcicora@udel.edu>
User-Agent: Microsoft-Entourage/9.0.2509
Mime-version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-transfer-encoding: 8bit
X-Complaints-To: newsabuse@supernews.com
Lines: 26