Closed EMG60 closed 10 months ago
Hi @EMG60,
const char *
twice, and I would like to be able to reproduce the warning/error here, which our CI builds do not show at the moment.Please note: they are errors which prevent building Harbour with Microsoft C++ 2022.
- Sorry, only a typo: contrib/hbsqlit3/core.c
Fixed.
This is a reduced sample of the problem:
void test( const unsigned char *p ) { ( void ) p; }
int main() { const unsigned char *p = 1;
test( p );
return 0;
}
Please, let me know what I have to do to get my pull request committed,
This is the error I get with MSC32 and current repository:
..\contrib\hbssl\rsa.c(117): error C2664: 'int RSA_public_encrypt(int,const unsigned char ,unsigned char ,RSA ,int)': cannot convert argument 2 from 'void ' to 'const unsigned char ' ..\contrib\hbssl\rsa.c(117): note: Conversion from 'void' to pointer to non-'void' requires an explicit cast e:\hrbbld\openssl\x86\include\openssl/rsa.h(288): note: see declaration of 'RSA_public_encrypt' (compiling source file ..\contrib\hbssl\rsa.c)
Many thanks to Przemek for the fixes! They are working fine here!
Fixed some conversion errors