[Users] [Bug 2579] New: Installed headers redefine autotools-specific constants

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Sat Jan 14 19:35:42 CET 2012


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2579

           Summary: Installed headers redefine autotools-specific
                    constants
           Product: Claws Mail
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
        AssignedTo: users at lists.claws-mail.org
        ReportedBy: mgorny at gentoo.org


Installed claws-mail headers include 'config.h' file with standard autotools
PACKAGE_* macros defined. This file is included by various header files which
causes the package-specific PACKAGE_* macros to be redefined and throws a lot
of compiler warnings like:

In file included from src/plugin.c:13:
In file included from /usr/include/claws-mail/account.h:26:
In file included from /usr/include/claws-mail/prefs_account.h:24:
/usr/include/claws-mail/config.h:352:9: warning: 'PACKAGE_NAME' macro redefined
#define PACKAGE_NAME ""
        ^
./config.h:45:9: note: previous definition is here
#define PACKAGE_NAME "claws-mail-gkr"
        ^

Same goes for version.h.

-- 
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Users mailing list