Hi Istvan,

On 2009 Nov 19, at 16:36, Bisz István wrote:

> Hi Viktor,
> 
> On Fedora 12 we have now:
> 
> ================================================
> native build:
> ================================================
> ../../../gtcrs.c: In function ‘void mouse_init(InOutBase*)’:
> ../../../gtcrs.c:1244: warning: deprecated conversion from string constant to 
> ‘char*’
> ../../../gtcrs.c: In function ‘void mouse_init(InOutBase*)’:
> ../../../gtcrs.c:1244: warning: deprecated conversion from string constant to 
> ‘char*’

I can't comment that.

[ probably the same as in maindllp.c. What compiler/version is this? ]

> ../../../ctc.c: In function ‘USHORT ct_error(USHORT, HB_ERRCODE, HB_ERRCODE, 
> const char*, const char*, HB_ERRCODE, USHORT, ULONG, ...)’:
> ../../../ctc.c:73: warning: format ‘%lu’ expects type ‘long unsigned int’, 
> but argument 3 has type ‘HB_ERRCODE’
> ../../../ctc.c:73: warning: format ‘%lu’ expects type ‘long unsigned int’, 
> but argument 4 has type ‘HB_ERRCODE’
> ../../../ctc.c: In function ‘void* ct_error_subst(USHORT, HB_ERRCODE, 
> HB_ERRCODE, const char*, const char*, HB_ERRCODE, USHORT, ULONG, ...)’:
> ../../../ctc.c:140: warning: format ‘%lu’ expects type ‘long unsigned int’, 
> but argument 3 has type ‘HB_ERRCODE’
> ../../../ctc.c:140: warning: format ‘%lu’ expects type ‘long unsigned int’, 
> but argument 4 has type ‘HB_ERRCODE’

Format string problem after ERRCODE change.

> /bin/sh: moc: command not found

*nix users will have to advise where to look for this 
component. F.e. on Darwin, it's installed to system 
location, which is in PATH.

I can add extra logic if needed, but I need to know 
what would that be. 'moc' is commonly needed for anything 
which uses QT, so I suppose it must be there somewhere.

> ================================================
> Windows cross build:
> ================================================
> In file included from ../../../fm.c:181,
>                 from ../../../hvmall.c:95:
> ../../../dlmalloc.c: In function 'void* dlmalloc(size_t)':
> ../../../dlmalloc.c:4107: warning: dereferencing pointer 'b' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:4105: warning: dereferencing pointer 'b' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:4104: note: initialized from here
> ../../../dlmalloc.c:4125: warning: dereferencing pointer 'b' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:4123: warning: dereferencing pointer 'b' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:4122: note: initialized from here
> ../../../dlmalloc.c:4134: warning: dereferencing pointer 'B' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:4134: warning: dereferencing pointer 'B' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:4134: warning: dereferencing pointer 'B' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:4134: note: initialized from here
> ../../../dlmalloc.c:3766: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3766: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3766: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3766: note: initialized from here
> ../../../dlmalloc.c:3727: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3727: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3727: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3727: note: initialized from here
> ../../../dlmalloc.c:3245: warning: dereferencing pointer 'bin' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3245: warning: dereferencing pointer 'bin' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3245: warning: dereferencing pointer 'bin' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3244: note: initialized from here
> ../../../dlmalloc.c:3302: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3302: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3302: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3302: note: initialized from here
> ../../../dlmalloc.c:3358: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3358: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3358: warning: dereferencing pointer 'F' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:3358: note: initialized from here
> ../../../dlmalloc.c: In function 'void dlfree(void*)':
> ../../../dlmalloc.c:4283: warning: dereferencing pointer 'B' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:4283: warning: dereferencing pointer 'B' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:4283: warning: dereferencing pointer 'B' does break 
> strict-aliasing rules
> ../../../dlmalloc.c:4283: note: initialized from here
> ../../../../maindllp.c: In function 'char* hb_parvdsbuff(char*, int, ...)':
> ../../../../maindllp.c:451: warning: deprecated conversion from string 
> constant to 'char*'

Probably a ( char * ) cast is needed in that line.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to