[Development] 5.0 RC1 fails to build qtwebkit using macx-clang-libc++-32

Stephen Chu stephen at ju-ju.com
Thu Dec 6 22:34:32 CET 2012


Trying to build RC1 using macx-clang-libc++-32 and got these errors. 
It's probably more to do with different struct sizes in 32-bit API:

In file included from platform/qt/WebCoreSystemInterface.mm:28:
In file included from 
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:37:
In file included from 
/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:50:3: 
error: typedef
       redefinition with different types ('struct _NSPoint' vs 'struct 
CGPoint')
} NSPoint;
   ^
platform/qt/WebCoreSystemInterface.h:32:24: note: previous definition is 
here
typedef struct CGPoint NSPoint;
                        ^
In file included from platform/qt/WebCoreSystemInterface.mm:28:
In file included from 
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:37:
In file included from 
/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:8:
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:66:3: 
error: typedef
       redefinition with different types ('struct _NSRect' vs 'struct 
CGRect')
} NSRect;
   ^
platform/qt/WebCoreSystemInterface.h:33:23: note: previous definition is 
here
typedef struct CGRect NSRect;
                       ^
2 errors generated.



More information about the Development mailing list