[cairo-bugs] [Bug 89339] New: util/cairo-script: compilation errors on AIX

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 26 08:06:21 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89339

            Bug ID: 89339
           Summary: util/cairo-script: compilation errors on AIX
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: michael.haubenwallner at ssi-schaefer.com
        QA Contact: cairo-bugs at cairographics.org

Using gcc on AIX I do get these compiler error:

/.../cairo-9999/util/cairo-script/cairo-script-scanner.c: In function
'_buffer_grow':
/.../cairo-9999/util/cairo-script/cairo-script-scanner.c:200: error:
'csi_scanner_t' has no member named '__jmpbuf'
/.../cairo-9999/util/cairo-script/cairo-script-scanner.c:206: error:
'csi_scanner_t' has no member named '__jmpbuf'

Problem here is that
*) cairo-script-scanner.c   does #include "cairo-script-private.h"
*) "cairo-script-private.h" does #include "config.h"
                                 #include <setjmp.h>
                                 typedef struct _csi_scanner csi_scanner_t;
                                 struct _csi_scanner { jmp_buf jmpbuf; ...}
*) cairo-script-scanner.c   does #include <math.h>
*) <math.h>                 does #include <stdlib.h>
*) <stdlib.h>               does #include <sys/wait.h>
*) <sys/wait.h>             does #include <sys/signal.h>
*) <sys/signal.h>           does #include <sys/context.h>
*) <sys/context.h>          does #define jmpbuf __jmpbuf
*) cairo-script-scanner.c   does use: _csi_scanner.jmpbuf
             which is now defined to: _csi_scanner.__jmpbuf
           but was declared above as: _csi_scanner.jmpbuf

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150226/a0e13e89/attachment.html>


More information about the cairo-bugs mailing list