|
|
|
|
|
by cperciva
5571 days ago
|
|
That sounds like a good reason to omit the cast. Compiling C code as C++ is a bug: You can take valid C code, run it through a C++ compiler without any errors or even warnings being printed, and have it behave differently. If you want to use C code from a C++ program, you MUST compile it with a C compiler and link it in. |
|