[Mesa-dev] [Bug 89978] nine_state.c:1440: error: unknown field ‘m’ specified in initializer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 10 12:40:49 PDT 2015


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

            Bug ID: 89978
           Summary: nine_state.c:1440: error: unknown field ‘m’ specified
                    in initializer
           Product: Mesa
           Version: 10.5
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: bacn at zhasha.com

mesa: 50db8bd1b5942a6577ab5ee399cae460fde761d4 (master 10.6.0-devel)

Build error with older GCC.

nine_state.c:1440: error: unknown field ‘m’ specified in initializer

  CC     nine_state.lo
nine_state.c: In function ‘nine_state_access_transform’:
nine_state.c:1440: error: unknown field ‘m’ specified in initializer
nine_state.c:1440: warning: missing braces around initializer
nine_state.c:1440: warning: (near initialization for
‘Identity.<anonymous>.<anonymous>’)
nine_state.c:1441: error: unknown field ‘m’ specified in initializer
nine_state.c:1441: error: extra brace group at end of initializer
nine_state.c:1441: error: (near initialization for ‘Identity’)
nine_state.c:1441: warning: excess elements in struct initializer
nine_state.c:1441: warning: (near initialization for ‘Identity’)
nine_state.c:1442: error: unknown field ‘m’ specified in initializer
nine_state.c:1442: error: extra brace group at end of initializer
nine_state.c:1442: error: (near initialization for ‘Identity’)
nine_state.c:1442: warning: excess elements in struct initializer
nine_state.c:1442: warning: (near initialization for ‘Identity’)
nine_state.c:1443: error: unknown field ‘m’ specified in initializer
nine_state.c:1443: error: extra brace group at end of initializer
nine_state.c:1443: error: (near initialization for ‘Identity’)
nine_state.c:1443: warning: excess elements in struct initializer
nine_state.c:1443: warning: (near initialization for ‘Identity’)


Introduced with 10.5.0-devel commit fdd96578ef2dfe9c4ad5aab5858036298d444a64.

commit fdd96578ef2dfe9c4ad5aab5858036298d444a64
Author: Joakim Sindholt <opensource at zhasha.com>
Date:   Thu Aug 4 15:14:06 2011 +0200

    nine: Add state tracker nine for Direct3D9 (v3)

    Work of Joakim Sindholt (zhasha) and Christoph Bumiller (chrisbmr).
    DRI3 port done by Axel Davy (mannerov).

    v2: - nine_debug.c: klass extended from 32 chars to 96 (for sure) by glennk
        - Nine improvements by Axel Davy (which also fixed some wine tests)
        - by Emil Velikov:
         - convert to static/shared drivers
         - Sort and cleanup the includes
         - Use AM_CPPFLAGS for the defines
         - Add the linker garbage collector
         - Restrict the exported symbols (think llvm)

    v3: - small nine fixes
        - build system improvements by Emil Velikov

    v4: [Emil Velikov]
       - Do no link against libudev. No longer needed.

    Acked-by: Jose Fonseca <jfonseca at vmware.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>
    Reviewed-by: Axel Davy <axel.davy at ens.fr>
    Signed-off-by: David Heidelberg <david at ixit.cz>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150410/f98321c2/attachment.html>


More information about the mesa-dev mailing list