Re: Patch: Remove gcc dependency in definition of inline functions

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Kurt Harriman <harriman(at)acm(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Patch: Remove gcc dependency in definition of inline functions
Date: 2010-01-19 07:48:03
Message-ID: 1263887283.31666.1.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On mån, 2010-01-18 at 16:34 -0800, Kurt Harriman wrote:
> MSVC does warn about unused static inline functions. The warning
> is prevented by using __forceinline instead of __inline.

Hmm, but forceinline is not the same as inline. Are we confident that
forcing inlining is not going to lead to disadvantages? Has this been
measured?

Is there not a setting to disable this particular warning. I read that
MSVC has various ways to set that sort of thing.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matteo Beccati 2010-01-19 08:11:32 Re: mailing list archiver chewing patches
Previous Message Simon Riggs 2010-01-19 07:41:10 Re: Streaming replication, and walsender during recovery