ref: d7e3444b8ac426c47d0506a0a1453e983915a992
parent: 9d043dae275956ef9f39c0e3f71c517dba534651
author: Werner Lemberg <[email protected]>
date: Fri Jun 14 14:33:39 EDT 2013
* src/smooth/ftgrays.c One final pragma to silence 64-bit MSVC.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-14 Werner Lemberg <[email protected]>.
+
+ * src/smooth/ftgrays.c One final pragma to silence 64-bit MSVC.
+
2013-06-06 Dave Arnold <[email protected]>
Werner Lemberg <[email protected]>
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -358,6 +358,14 @@
} TCell;
+#if defined( _MSC_VER ) /* Visual C++ (and Intel C++) */
+ /* We disable the warning `structure was padded due to */
+ /* __declspec(align())' in order to compile cleanly with */
+ /* the maximum level of warnings. */
+#pragma warning( push )
+#pragma warning( disable : 4324 )
+#endif /* _MSC_VER */
+
typedef struct gray_TWorker_
{
TCoord ex, ey;
@@ -404,6 +412,10 @@
TPos ycount;
} gray_TWorker, *gray_PWorker;
+
+#if defined( _MSC_VER )
+#pragma warning( pop )
+#endif
#ifndef FT_STATIC_RASTER