Hi guys,

I'm compiling skia with MinGW-w64 GCC, and after the stuff in my previous
mail and some other small things, I came across this:

In file included from C:/Development/skia/src/xps/SkDocument_XPS.cpp:12:0:
C:/Development/skia/src/xps/SkXPSDevice.h:187:15: error: 'XPS_SIZE' does
not name a type
         const XPS_SIZE& pageSize,
               ^~~~~~~~
C:/Development/skia/src/xps/SkXPSDevice.h:259:9: error: 'XPS_GLYPH_INDEX'
has not been declared
         XPS_GLYPH_INDEX* xpsGlyphs,
         ^~~~~~~~~~~~~~~
C:/Development/skia/src/xps/SkXPSDevice.h:261:9: error: 'XPS_POINT' has not
been declared
         XPS_POINT *origin,
         ^~~~~~~~~
C:/Development/skia/src/xps/SkXPSDevice.h:263:9: error:
'XPS_STYLE_SIMULATION' has not been declared
         XPS_STYLE_SIMULATION sims,
         ^~~~~~~~~~~~~~~~~~~~
C:/Development/skia/src/xps/SkXPSDevice.h:277:41: error: 'XPS_RECT' does
not name a type
         const SkRect& leftPoints, const XPS_RECT& left,
                                         ^~~~~~~~
C:/Development/skia/src/xps/SkXPSDevice.h:292:9: error: 'XPS_FILL_RULE' has
not been declared
         XPS_FILL_RULE fillRule);
         ^~~~~~~~~~~~~

Now, looking into xpsobjectmodel.h, I see the typedef for e.g. XPS_SIZE
like so:
typedef struct __WIDL_xpsobjectmodel_generated_name_00000037 {
    FLOAT width;
    FLOAT height;
} XPS_SIZE;

along with all the other symbols in the error message. But this doesn't
look right, and well, the compiler agrees. Did something go wrong here in
the widl step or what is this construct?

I'm using MSYS2's MinGW-w64, which is 5.0.0.4680.362c947-1, so git rev
362c947 I guess.

How do I fix this?

Thanks!

Ruben
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to