Sorry, it was the original one which I've restored for comparison.

Here is the patched one.

Brgds,
Viktor

On Tue, Jun 23, 2009 at 8:41 PM, Viktor Szakáts<harbour...@syenar.hu> wrote:
> I could suppress the warning, but I'm unsure whether it does the same as 
> before.
>
> It's also difficult to tell how to test this code, anyway demowvg.prg
> seems to work
> no worse than without this. (I mean no worse because I normally have
> empty and/or
> unclosable wnidows in this demo, no window content, also GPF on
> windows close f.e..)
> After this patch, I see the same things happening, so to me it looks
> that it didn't
> make it any worse.
>
> I've attached code for review.
>
> Brgds,
> Viktor
>
> On Tue, Jun 23, 2009 at 8:30 PM, Przemyslaw Czerpak<dru...@acn.waw.pl> wrote:
>> On Tue, 23 Jun 2009, Xavi wrote:
>>> It also makes me do strange casting as (void **) (void*) but don't
>>> report any warning: I don't know if it is intentional.
>>
>> It is intentional. Read about strict aliasing optimizations.
>>
>> best regards,
>> Przemek
>> _______________________________________________
>> Harbour mailing list
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
>

Attachment: wvgsink.c
Description: Binary data

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to