🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Linker error

#3687
From: Ed Mulroy
Date: Thu, 27 Apr 2006 20:55
18 lines
1801 bytes
No, it should not.  A header file is a compile time item.  It is not a link 
item.

C and C++ are professional development languages. The variety of uses for a 
professional language includes that where a user supplies a library of his 
choice. .

.  Ed

> Jos� wrote in message
>news:2f4252tilb6shc7alh7vec24s67pevef5l@4ax.com...
>
> I think there is an upgrade suggestion here. A header should
> not only contain a function declaration, but also the name of
> the library file, so that the library is automatically included.
>
> This is rather similar to including the entire function definition
> in the header.
Technical Details
Message-ID: <44512fd8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.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
From: "Ed Mulroy" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
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>
Subject: Re: Linker error
Date: Thu, 27 Apr 2006 16:55:48 -0400
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.57.117.102
Message-ID: <44512fd8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1146171352 66.57.117.102 (27 Apr 2006 13:55:52 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail