Re: [Harbour] GCC 4.4.0 warnings (only in GTWVG)

2009-05-26 Thread Pritpal Bedi
Hi >I hope we can fix it, because this line isn't safe. >Is it need at all? Yes. As this value is used in HB_AX_SHUTDOWNCONNECTIONPOINT(). I will think other means. >The easiest fix is to initialize them on declaration >with some default values. Oh, ok, will do in a while. Regards Pritpal Bed

Re: [Harbour] GCC 4.4.0 warnings (only in GTWVG)

2009-05-26 Thread Szakáts Viktor
../../wvgsink.c: In function 'HB_FUN_HB_AX_SETUPCONNECTIONPOINT': ../../wvgsink.c:516: warning: dereferencing pointer 'hSink.33' does break strict-aliasing rules Have no idea how to cast it. I hope we can fix it, because this line isn't safe. Is it need at all? ../../wvgsink.c:546: note: in

Re: [Harbour] GCC 4.4.0 warnings (only in GTWVG)

2009-05-26 Thread Pritpal Bedi
Hello Viktor Szakáts wrote: > > ../../wvgsink.c: In function 'HB_FUN_HB_AX_SETUPCONNECTIONPOINT': > ../../wvgsink.c:516: warning: dereferencing pointer 'hSink.33' does > break strict-aliasing rules > Have no idea how to cast it. > ../../wvgsink.c:546: note: initialized from here > ../../wv