Bug 12678 - source4/lib/com/classes/simple.c
Summary: source4/lib/com/classes/simple.c
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.8.0
Hardware: x64 Mac OS X
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-11 17:53 UTC by Ruga
Modified: 2018-04-25 10:12 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.
Comment 1 Ruga 2018-04-25 10:11:59 UTC
[1818/2913] 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.