[Bug 1361] New: Compile error while building cyrus-imapd-2.2.12 with gcc4



Summary: Compile error while building cyrus-imapd-2.2.12 with
Product: Openembedded
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: openembedded-devel@...
ReportedBy: yuecelm@...
QAContact: tinderbox-oe@...

I get a compile error. An error dump is included in the attachment section.

OE Build Configuration:
BB_VERSION = "1.6.0"
OE_REVISION = "10926eec6b5cb3adcd7df2208e2378bd1fc98cbd"
TARGET_ARCH = "armeb"
TARGET_OS = "linux"
MACHINE = "nslu2"
DISTRO = "openslug"
DISTRO_VERSION = "4.0-beta"
TARGET_FPU = "soft"

gcc4 is rejecting decorations like the following:

struct imapopt_s imapopts[]

To fix this gcc4 warning, I also attach a patch to change it to:

struct imapopt_s * imapopts

The package will be builded without problems. But as long its not tested or
someone approves the changes, I will not commit it to OE.

Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.