Re: Patch: Remove gcc dependency in definition of inline functions - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Patch: Remove gcc dependency in definition of inline functions
Date
Msg-id 1263887283.31666.1.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to Re: Patch: Remove gcc dependency in definition of inline functions  (Kurt Harriman <harriman@acm.org>)
Responses Re: Patch: Remove gcc dependency in definition of inline functions  (Kurt Harriman <harriman@acm.org>)
Re: Patch: Remove gcc dependency in definition of inline functions  (Kurt Harriman <harriman@acm.org>)
List 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.



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Streaming replication, and walsender during recovery
Next
From: Matteo Beccati
Date:
Subject: Re: mailing list archiver chewing patches