[DiscordArchive] c++ compilers are supposed to compile C, no?
[DiscordArchive] c++ compilers are supposed to compile C, no?
Archived author: Deamon • Posted: 2018-05-17T13:37:19.675000+00:00
Original source
but a long time passed since then and C language gained some unique features
Archived author: Skarn • Posted: 2018-05-17T13:38:52.764000+00:00
Original source
the question is though, what should we do to make it build in the end?
Archived author: schlumpf • Posted: 2018-05-17T13:39:11.607000+00:00
Original source
Use the right compiler for the respective language.
Archived author: Deamon • Posted: 2018-05-17T13:39:18.392000+00:00
Original source
^
Archived author: Skarn • Posted: 2018-05-17T13:39:26.194000+00:00
Original source
not possible?
Archived author: schlumpf • Posted: 2018-05-17T13:39:31.856000+00:00
Original source
`${CXX} --std=c+11 foo.cpp && ${CC} bar.c`.
Archived author: Skarn • Posted: 2018-05-17T13:39:34.608000+00:00
Original source
it uses one compiler to build the whole extention
Archived author: schlumpf • Posted: 2018-05-17T13:39:47.039000+00:00
Original source
Well, then fix the fucking build system.
Archived author: schlumpf • Posted: 2018-05-17T13:39:56.918000+00:00
Original source
This is NOT a C or C++ langauge issue.
Archived author: schlumpf • Posted: 2018-05-17T13:40:10.252000+00:00
Original source
This is the issue of YOU guys having a bad build system and not knowing what you're doing.