[hafqa] [hafqa] [Bug 822] New: same enum fields in different headers.

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Wed Nov 1 14:35:07 EET 2006
https://maemo.org/bugzilla/show_bug.cgi?id=822

           Summary: same enum fields in different headers.
           Product: haf
           Version: sardine
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: hildon-libs
        AssignedTo: luc.pionchon at nokia.com
        ReportedBy: johan.bilien at nokia.com
         QAContact: hafqa at maemo.org


TimeEditor and DateEditor use the same variable names in public enums. As a
result you cannot use both in the same file. For instance in
hildon-composite-widget.c.

In file included from hildon-composite-widget.c:29:
hildon-time-editor.h:57: error: redeclaration of enumerator 'INVALID_CHAR'
hildon-date-editor.h:79: error: previous definition of 'INVALID_CHAR' was here
make[2]: *** [hildon-composite-widget.lo] Error 1
make[2]: Leaving directory `/home/jobi/src/hildon-libs/hildon-widgets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jobi/src/hildon-libs'

-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list