Re: Debian AMD64 compile problem

From: Joost Kraaijeveld <J(dot)Kraaijeveld(at)Askesis(dot)nl>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Debian AMD64 compile problem
Date: 2005-11-04 16:12:05
Message-ID: 1131120725.13868.20.camel@Panoramix
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Fri, 2005-11-04 at 15:46 +0000, Dave Page wrote:
> Try:
>
> export CXX=/usr/bin/g++-4.0
OK, works, no more confusion.

> > This time it did not link (undefined reference to "ScanKeywordLookup")
This one is still there. I noticed that the function is implemented in a
C file (keywords.c) and defined in keywords.h as

extern const ScanKeyword *ScanKeywordLookup(const char *text);

It is used in the C++ file misc.cpp. I suspect that is has something to
do with mixing C and C++ and the linkage rules. Do you know by any
chance the linkage rules in the C++ standard for extern const functions
and if this could play a role?

--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J(dot)Kraaijeveld(at)Askesis(dot)nl
web: www.askesis.nl

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Allen, Mike 2005-11-04 16:59:41 New group roles always inherit privileges...
Previous Message Dave Page 2005-11-04 15:46:11 Re: Debian AMD64 compile problem