ini
ini copied to clipboard
Add compatibility with g++ compiler and C++11 standard
It's not possible to use malloc without a cast as g++ treats it as an invalid conversion. Initializing a char pointer with an empty string will also issue a warning, so current_section char pointer must not be initialized.
And I always name my variables new
, class
and similar, just to annoy C++ programmers thinking one was supposed to compile C code with C++ compilers. 🤔
And I always name my variables
new
,class
and similar, just to annoy C++ programmers thinking one was supposed to compile C code with C++ compilers.
Hahaha, fair enough. I'm no C++ programmer, but I had to use Rexroth's mlpiCore lib which is C++ only and then I ran into those issues.