[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 6e80a09 1/2: Work around a bug of the C 8.0.0.1 compi
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 6e80a09 1/2: Work around a bug of the C 8.0.0.1 compiler on AIX 5.3 (#47955). |
Date: |
Sat, 21 May 2016 09:21:12 +0000 (UTC) |
branch: master
commit 6e80a098e787c82be6be69844f71cfe61a1daa5d
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>
Work around a bug of the C 8.0.0.1 compiler on AIX 5.3 (#47955).
* include/freetype/internal/ftmemory.h (cplusplus_typeof): Use
braces for `extern "C++"'.
---
ChangeLog | 7 +++++++
include/freetype/internal/ftmemory.h | 4 +++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index fb6ee88..130f5e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-05-21 Werner Lemberg <address@hidden>
+
+ Work around a bug of the C 8.0.0.1 compiler on AIX 5.3 (#47955).
+
+ * include/freetype/internal/ftmemory.h (cplusplus_typeof): Use
+ braces for `extern "C++"'.
+
2016-05-17 Nikolaus Waxweiler <address@hidden>
[truetype] Make TT_LOADER_SET_PP support subpixel hinting [3/3].
diff --git a/include/freetype/internal/ftmemory.h
b/include/freetype/internal/ftmemory.h
index 3157daf..8c06fc2 100644
--- a/include/freetype/internal/ftmemory.h
+++ b/include/freetype/internal/ftmemory.h
@@ -65,13 +65,15 @@ FT_BEGIN_HEADER
#ifdef __cplusplus
- extern "C++"
+extern "C++"
+{
template <typename T> inline T*
cplusplus_typeof( T*,
void *v )
{
return static_cast <T*> ( v );
}
+}
#define FT_ASSIGNP( p, val ) (p) = cplusplus_typeof( (p), (val) )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 6e80a09 1/2: Work around a bug of the C 8.0.0.1 compiler on AIX 5.3 (#47955).,
Werner LEMBERG <=