Re: Broken 'C' compilation when building from Master with MSVC
- From: Tim-Philipp Müller <t i m zen co uk>
- To: gtk-devel-list gnome org
- Subject: Re: Broken 'C' compilation when building from Master with MSVC
- Date: Mon, 02 Nov 2015 23:39:03 +0000
On Mon, 2015-11-02 at 23:20 +0000, Emmanuele Bassi wrote:
inline in C is a C99 feature, which is why older VS doesn't support
it. VS2015 does.
I'm pretty sure MSVC versions prior to the one in Visual Studio 2015
support `static inline` function declarations.
MS Visual C++ Express 2010 seems to want __inline instead of inline.
Apparently VS 2013 does too:
http://stackoverflow.com/questions/24736304/unable-to-use-inline-in-dec
laration-get-error-c2054
Which version did you have in mind?
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]