Viktor Szakáts escribió:
I could suppress the warning, but I'm unsure whether it does the same as before.
Sorry you're right. I should have put in remarques. The code does the same as
before because I have only limited to remove the
parameter not used but produced the warning.
With your last
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 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
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,
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
OT: Warning
../../wvgsink.c: In function `void HB_FUN_WVG_AXSETUPCONNECTIONPOINT()':
../../wvgsink.c:533: warning: casting `IID*' to `const IID&' does not
dereference pointer
Sorry I only correct the warning (if can help), I don't work with this code.
Please test.
It also makes me do strange c
Revision: 11505
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11505&view=rev
Author: vszakats
Date: 2009-06-23 17:11:04 + (Tue, 23 Jun 2009)
Log Message:
---
2009-06-23 19:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- examples/superlib/hbsuper