Usually when MSVC tells me something is wrong, something is wrong.
But here is a chunk of my code and i think this error is bogus.
Code:
1>.\SnapLib.c(42) : warning C4047: 'function' : 'uInt8 **' differs in levels of indirection from 'uInt8 *'
1>.\SnapLib.c(42) : warning C4024: 'AnalogueCardInit' : different types for formal and actual parameter 2
Code:
int AnalogueCardInit( uInt8 *image1D, uInt8 **image2D);
int main(void){
uInt8* Buffer1D = NULL;
uInt8** Buffer2D = NULL;
int nothing = 0;
nothing = AnalogueCardInit( Buffer1D, *Buffer2D);
}
int AnalogueCardInit ( uInt8 *image1D, uInt8 **image2D){
...
}
This will be part of a library and Buffer1D will hold the values and Buffer2D will point to parts of Buffer1D making a 2D array