🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Using Toolkit with GCC - Any problems?

#1101
From: Colin Jensen
Date: Tue, 18 Aug 1992 22:25
13 lines
941 bytes
In article <1992Aug18.151342.25079@csc.ti.com> jsykes@dadd.ti.com writes:
>Can't you avoid adding the 'asm ("x")'s by including os.h as follows:
>
>extern "C" {
>#include <os2.h>
>}

No.  This is not the same thing.  extern "C" will tell gcc to use
underscores before all symbols.  The asm directive is the only
efficient way to tell gcc to not use underscores before the library
symbols.
-- 
Colin Jensen (cjensen@ampex.com)
Technical Details
Message-ID: <1992Aug18.222539.19836@ampex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!sdd.hp.com!mips!mips!ampex!cjensen
References: <9208181323.AA09738@data.src.honeywell.com> <1992Aug18.151342.25079@csc.ti.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!sdd.hp.com!mips!mips!ampex!cjensen
From: cjensen@ampex.com (Colin Jensen)
Subject: Re: Using Toolkit with GCC - Any problems?
Message-ID: <1992Aug18.222539.19836@ampex.com>
Sender: usenet@ampex.com (News Poster)
Nntp-Posting-Host: mer-s4-14
Organization: Ampex Corporation, Redwood City CA
References: <9208181323.AA09738@data.src.honeywell.com> <1992Aug18.151342.25079@csc.ti.com>
Date: Tue, 18 Aug 1992 22:25:39 GMT
Lines: 13