Sagebox / CKwargs

C++ Named-Parameter Keywords and Function-Based Keywords
MIT License
2 stars 0 forks source link

missing c-header files for memcpy and printf #3

Open mittelmark opened 1 year ago

mittelmark commented 1 year ago

The g++ compiler needs to include the header for memcpy and the header for printf.

I finally got this fixed and could compile the code on Linux with g++ 12.

Sagebox commented 1 year ago

Thanks. That's odd. I will put them into the respective files. On my main environment they are somehow automatically included.

Weird. The error completely makes sense. I can't reproduce it, but it won't hurt to add them.

I'll be able to test more in gcc vs. msvc coming up.