AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.06.21 14:53 "[Tiff] VS7.1 compile problems", by Thom DeCarlo
2005.06.21 15:11 "Re: [Tiff] VS7.1 compile problems", by Bob Friesenhahn
2005.06.21 16:10 "Re: [Tiff] VS7.1 compile problems", by Edward Lam
2005.06.21 16:44 "Re: [Tiff] VS7.1 compile problems", by Bob Friesenhahn
2005.06.22 20:51 "Re: [Tiff] VS7.1 compile problems", by Andrey Kiselev
2005.06.23 12:44 "RE: [Tiff] VS7.1 compile problems", by Thom DeCarlo
2005.06.23 19:11 "Re: [Tiff] VS7.1 compile problems", by Andrey Kiselev

2005.06.21 16:44 "Re: [Tiff] VS7.1 compile problems", by Bob Friesenhahn

Isn't this because we're trying to compile that file as C code as opposed to C++ code? The "inline" keyword is available in the C++ language only. What do we do with gcc? Does gcc erroneously allow the "inline" keyword in the C language?

In 1999 a new version of ANSI C was ratified which does include the 'inline' key-word. It seems that most compilers (even those preceding the update to the ANSI C standard) do include support for 'inline' or a variant thereof.

Parts of the code which are configured using autoconf receive the benefit of 'inline' configury. Unfortunately, this does not include the Microsoft compiler.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/