On 07/21/2010 10:23 PM, Kai Krakow wrote:
> 2010/7/21 Wietse Venema <[email protected]>:
>> That would be a compiler bug, possibly compiler version dependent.
> 
> Yep, I'm sure it is. The postfix ebuild from gentoo contains some
> evidence that hardened gcc 3.4 may be problematic. In case you are
> interested, follow up bug report:
> http://bugs.gentoo.org/show_bug.cgi?id=328375
> 


Can you try what happens if you replace at


typedef struct LOCAL_STATE {
    int level;                /* nesting level, for logging */
    DELIVER_ATTR msg_attr;    /* message/recipient attributes */
    DELIVER_REQUEST *request; /* as from queue manager */
} LOCAL_STATE;


the first line with:

typedef struct local_state {

in virtual.h and same for DELIVER_ATTR and DELIVER_REQUEST?

The difference is that the symbol LOCAL_STATE is now only used once.
Most coding standards forbid to define a symbol more than once.

Bas.

-- 
Bas

Reply via email to