🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3833

Re: Linker error

#3833
From: Hans Galema
Date: Thu, 27 Apr 2006 19:16
18 lines
1737 bytes
Jos� wrote:

> ... A header should not only
> contain a function declaration, but also the name of the library file,
> so that the library is automatically included.

No that is no good. And what syntax would you use?

The o. file or library, which contains the body for a function,
should only be added when the function is actually called.

> This is rather similar to including the entire function definition in
> the header.

Which is never done. Or do you refer to memberfunctions which
are completely in a class definition ?

Hans.
Technical Details
Message-ID: <4451198d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <6jgu42lmnd7anrv89k6h8uevgnru3qshm2@4ax.com> <444fb71b$1@newsgroups.borland.com> <gar052pvee5ubqnv989tid8vcprkrku2tv@4ax.com> <44507910$1@newsgroups.borland.com> <44507adf$1@newsgroups.borland.com> <4450fbe1$3@newsgroups.borland.com> <2f4252tilb6shc7alh7vec24s67pevef5l@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4288ca169ea4de24
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
Date: Thu, 27 Apr 2006 21:16:36 +0200
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Linker error
References: <6jgu42lmnd7anrv89k6h8uevgnru3qshm2@4ax.com> <444fb71b$1@newsgroups.borland.com> <gar052pvee5ubqnv989tid8vcprkrku2tv@4ax.com> <44507910$1@newsgroups.borland.com> <44507adf$1@newsgroups.borland.com> <4450fbe1$3@newsgroups.borland.com> <2f4252tilb6shc7alh7vec24s67pevef5l@4ax.com>
In-Reply-To: <2f4252tilb6shc7alh7vec24s67pevef5l@4ax.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <4451198d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1146165645 145.98.201.248 (27 Apr 2006 12:20:45 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail