Compile *.c file as c++

Roman Matsybora via Boost-build <[email protected]> Mon, 26 Jul 2021 11:57:39 +0300
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
--===============2629166106412143426==
Content-Type: multipart/alternative; boundary="=-tNZ2CfagTdR338OvqDeI"

--=-tNZ2CfagTdR338OvqDeI
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: binary
Content-Length: 200

Hello,
Some part of c files need to be compiled as c++ but another part of *.c files stay with c.
Is there some general solution or may be tool dependent?
Currently using Visual Studio 2017-2019.

--=-tNZ2CfagTdR338OvqDeI
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: base64

PGh0bWw+PGJvZHk+PHNwYW4gc3R5bGU9ImRpc3BsYXk6YmxvY2s7IiBjbGFzcz0ieGZtXzgyMDUx
ODA2Ij48ZGl2PjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTJwdDtsaW5lLWhlaWdodDoxNHB0O2Zv
bnQtZmFtaWx5OkFyaWFsOyIgY2xhc3M9InhmbWMxIj5IZWxsbyw8L3NwYW4+PC9kaXY+DQo8ZGl2
PjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTJwdDtsaW5lLWhlaWdodDoxNHB0O2ZvbnQtZmFtaWx5
OkFyaWFsOyIgY2xhc3M9InhmbWMxIj5Tb21lIHBhcnQgb2YgYyBmaWxlcyBuZWVkIHRvIGJlIGNv
bXBpbGVkIGFzIGMrKyBidXQgYW5vdGhlciBwYXJ0IG9mICouYyBmaWxlcyBzdGF5IHdpdGggYy48
YnIvPklzIHRoZXJlIHNvbWUgZ2VuZXJhbCBzb2x1dGlvbiBvciBtYXkgYmUgdG9vbCBkZXBlbmRl
bnQ/PC9zcGFuPjwvZGl2Pg0KPGRpdj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjEycHQ7bGluZS1o
ZWlnaHQ6MTRwdDtmb250LWZhbWlseTpBcmlhbDsiIGNsYXNzPSJ4Zm1jMSI+Q3VycmVudGx5IHVz
aW5nIFZpc3VhbCBTdHVkaW8gMjAxNy0yMDE5Ljwvc3Bhbj48L2Rpdj48L3NwYW4+PC9ib2R5Pjwv
aHRtbD4NCg==

--=-tNZ2CfagTdR338OvqDeI--

--===============2629166106412143426==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build

--===============2629166106412143426==--