
From: David Fifield <david () bamsoftware com>
Date: Thu, 11 Aug 2022 10:33:12 -0400
On Fri, Aug 12, 2022 at 12:12:57AM +1000, Adam Baxter wrote:
The current sticking point * c:gitnmapncatncat_ssl.c(211,40): error C2440: '=': cannot convert from 'const void *' to 'const char *' [c:gitn mapncatncat.vcxproj] Which the line of code is https://github.com/nmap/nmap/blob/master/ncat/ncat_ssl.c#L211, dot = memchr(p, '.', remaining);
I think this error occurs when trying to compile C code with a C++ compiler. The pointer conversion is implicit in C but must be explicit in C++. I'm not sure how the C++ compiler came to be used, though—maybe check the changes you made to the solution file. _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at https://seclists.org/nmap-dev/