Y
Hacker News
new
|
ask
|
show
|
jobs
by
matheusmoreira
2387 days ago
Is there a benefit to building C code with a C++ compiler?
2 comments
flohofwoe
2386 days ago
C++ has some stricter type checking by default, but most of this can be achieved by raising the warning level when compiled as C.
Nevertheless I received enough requests to make my C libraries 'C++ compliant' that I gave in :)
link
colonwqbang
2387 days ago
Only if your project is already mostly C++ and you would like to use your C++ compiler for everything, to keep the build process simpler.
link
Nevertheless I received enough requests to make my C libraries 'C++ compliant' that I gave in :)