[Bug 97034] New: test-tpl-log-walker.c:172:1: error: conflicting types for ‘rewind’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 21 23:21:56 UTC 2016


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

            Bug ID: 97034
           Summary: test-tpl-log-walker.c:172:1: error: conflicting types
                    for ‘rewind’
           Product: Telepathy
           Version: git master
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: logger
          Assignee: telepathy-bugs at lists.freedesktop.org
          Reporter: mcatanzaro at gnome.org
        QA Contact: telepathy-bugs at lists.freedesktop.org

I guess something is including stdio.h somewhere it previously wasn't, because
telepathy-logger doesn't build in GNOME JHBuild on Fedora 24:

test-tpl-log-walker.c:172:1: error: conflicting types for ‘rewind’
 rewind (WalkerTestCaseFixture *fixture,
 ^~~~~~
In file included from
/home/mcatanzaro/src/jhbuild/install/include/glib-2.0/glib/gmessages.h:33:0,
                 from
/home/mcatanzaro/src/jhbuild/install/include/glib-2.0/glib.h:62,
                 from
/home/mcatanzaro/src/jhbuild/install/include/glib-2.0/gobject/gbinding.h:28,
                 from
/home/mcatanzaro/src/jhbuild/install/include/glib-2.0/glib-object.h:23,
                 from ../../tests/lib/simple-account.h:14,
                 from test-tpl-log-walker.c:5:
/usr/include/stdio.h:759:13: note: previous declaration of ‘rewind’ was here
 extern void rewind (FILE *__stream);
             ^~~~~~

Probably should just rename that function and be done with it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.


More information about the telepathy-bugs mailing list