Re: type-punning warnings with optimizations turned on?



[Resending, sorry. Screwed up and sent my last reply from the wrong
account.]

[[ #$%^&*! mail program! Did it again...]]

On Fri, 2007-07-06 at 09:27 +0200, Jonathan Winterflood wrote:
Wouldn't that be
typedef struct MyMutex MyMutex;
rather?

Or for short :
typedex struct _MyMutex {
    GStaticMutex mutex;
} MyMutex;

Hi. Thanks for the input. But since this is C++, I'm not sure how that
makes a difference. Anyway, I tried it and the warnings remain.

-Alan







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]