On 10/14/24 9:22 AM, Oliver Smith-Denny wrote:
In GoogleTest, you often cannot directly include the C file in the
GoogleTest file, because C++ complains about many Cisms, mostly
our use of casting.
Do you have an example of that?
Also, I've seen suggestions (I think on the FreeBSD mailing lists) of
using C++ as "a better C". That is, not using any C++ specific features
but building the code as C++ because apparently you get better code
checking and diagnostics with it. Though you do lose some features like
implicit casts from void* when using C++.
Rebecca
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120621): https://edk2.groups.io/g/devel/message/120621
Mute This Topic: https://groups.io/mt/108941574/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-