Bug 12678 - source4/lib/com/classes/simple.c
source4/lib/com/classes/simple.c
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
4.6.0
x64 Mac OS X
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-11 17:53 UTC by Ruga
Modified: 2017-03-11 17:53 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruga 2017-03-11 17:53:30 UTC
[1784/3257] Compiling source4/lib/com/classes/simple.c
../source4/lib/com/classes/simple.c:95:2: warning: incompatible pointer types initializing 'WERROR (*)(struct IClassFactory *, TALLOC_CTX *, struct MInterfacePointer *, struct GUID *, struct MInterfacePointer *)' (aka 'WERROR (*)(struct IClassFactory *, void *, struct MInterfacePointer *, struct GUID *, struct MInterfacePointer *)') with an expression of type 'WERROR (struct IClassFactory *, TALLOC_CTX *, struct IUnknown *, struct GUID *, struct IUnknown **)' (aka 'WERROR (struct IClassFactory *, void *, struct IUnknown *, struct GUID *, struct IUnknown **)') [-Wincompatible-pointer-types]
        simpleclass_IClassFactory_CreateInstance,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../source4/lib/com/classes/simple.c:106:2: warning: incompatible pointer types initializing 'WERROR (*)(struct IStream *, TALLOC_CTX *, uint8_t *, uint32_t, uint32_t *, uint32_t *)' (aka 'WERROR (*)(struct IStream *, void *, unsigned char *, unsigned int, unsigned int *, unsigned int *)') with an expression of type 'WERROR (struct IStream *, TALLOC_CTX *, uint8_t *, uint32_t, uint32_t *, uint32_t)' (aka 'WERROR (struct IStream *, void *, unsigned char *, unsigned int, unsigned int *, unsigned int)') [-Wincompatible-pointer-types]
        simple_IStream_Read,
        ^~~~~~~~~~~~~~~~~~~
../source4/lib/com/classes/simple.c:107:2: warning: incompatible pointer types initializing 'WERROR (*)(struct IStream *, TALLOC_CTX *, uint8_t *, uint32_t, uint32_t *)' (aka 'WERROR (*)(struct IStream *, void *, unsigned char *, unsigned int, unsigned int *)') with an expression of type 'WERROR (struct IStream *, TALLOC_CTX *, uint8_t *, uint32_t, uint32_t)' (aka 'WERROR (struct IStream *, void *, unsigned char *, unsigned int, unsigned int)') [-Wincompatible-pointer-types]
        simple_IStream_Write
        ^~~~~~~~~~~~~~~~~~~~
3 warnings generated.