Closed nedpals closed 4 years ago
That's clearly because (unlike C) C++ does not allow the implicit casts from void*
to other pointers, so explicit casts to target types would have to be added.
If you really need to feed the source to C++ compiler instead of C compiler, feel free to make a pull request.
passing -fpermissive -w
to the building stage was enough
@mity thanks for the quick response!
and for the great library too!
passing
-fpermissive -w
to the building stage was enough
It would imho be cleaner to compile .c files with gcc
instead of g++
, and only use g++
when linking it all together but whatever.
Closing.
Hi! First of all, thanks for creating this library. It's been a pleasure to use and miles better than cmark in terms of portability and extensibility.
I'm about to include md4c into the V Programming Language when it failed on the C++ test of our CI because of some issues regarding
md4c.c
. Here's the short preview of the error message:Hoping it would get fixed ASAP or have a workaround on how to bypass this error. :smiley: