From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Pragma linking? |
Date: | 2006-05-08 17:59:05 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCEA0F977@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > For VC++ you can add a #pragma directive to the header
> files to direct
> > the compiler/linker to link with a specific library.
>
> Count on Microsoft to invent stupid "features" :-(.
I guess stupid is a relative matter - I find it quite handy.
> If the directive includes a full path then we can't put it in our
> standard headers, and if it doesn't then it's useless.
It can optionally include the full path. Which we can't use, of course.
It will work just fine when you don't, as long as you include the
directory where the lib file is in your LIB path. Which is the same way
the linker commandline option works. I don't see how that makes it
useless, though.
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-05-08 17:59:56 | Re: performance question (something to do w/ |
Previous Message | Tom Lane | 2006-05-08 17:55:46 | Re: Pragma linking? |