* include/freetype/internal/ftdebug.h: Disable MSVC warning C4127.
This partially undoes commit 3f6e0e0c
.
This commit is contained in:
parent
c06889eb2c
commit
25b6e600c1
@ -1,3 +1,9 @@
|
||||
2013-06-12 Werner Lemberg <wl@gnu.org>.
|
||||
|
||||
* include/freetype/internal/ftdebug.h: Disable MSVC warning C4127.
|
||||
|
||||
This partially undoes commit 3f6e0e0c.
|
||||
|
||||
2013-06-12 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
More compiler warning fixes.
|
||||
|
@ -248,6 +248,18 @@ FT_BEGIN_HEADER
|
||||
ft_debug_init( void );
|
||||
|
||||
|
||||
#if defined( _MSC_VER ) /* Visual C++ (and Intel C++) */
|
||||
|
||||
/* We disable the warning `conditional expression is constant' here */
|
||||
/* in order to compile cleanly with the maximum level of warnings. */
|
||||
/* In particular, the warning complains about stuff like `while(0)' */
|
||||
/* which is very useful in macro definitions. There is no benefit */
|
||||
/* in having it enabled. */
|
||||
#pragma warning( disable : 4127 )
|
||||
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
||||
FT_END_HEADER
|
||||
|
||||
#endif /* __FTDEBUG_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user