🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3385

CSet/2 Beta C++ Linking Problem

#3385
From: David Feustel
Date: Sat, 09 Jan 1993 00:10
16 lines
807 bytes
#include <iostream.h>
void main(int argc,char *argv[])
{
	cout << "Hello, World\n";
}

compiles and links correctly with no flags (i.e. static linking).
The same program fails to link ( cout and one other symbol undefined)
when the /Gd+ flag (dynamic linking) is used.

Does anyone know why htis happens and what the fix is?
Thanks.
-- 
Dave Feustel N9MYI <feustel@netcom.com>
 
                        Happy Holidays to ALL!!!
Technical Details
Message-ID: <1993Jan9.001008.24880@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!wupost!csus.edu!netcom.com!feustel

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!wupost!csus.edu!netcom.com!feustel
From: feustel@netcom.com (David Feustel)
Subject: CSet/2 Beta C++ Linking Problem
Message-ID: <1993Jan9.001008.24880@netcom.com>
Organization: DAFCO: OS/2 Software Support & Consulting
Date: Sat, 9 Jan 1993 00:10:08 GMT
Lines: 16