RE: GNU OSC (Object Size Checking)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Martin,

Just to be sure I am clear on this when you said it supports both languages:

I thought OSC is for C language only since it's listed under "C-Extensions":

https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html#C-Extensions

As examples, does OSC support multi inheritance, templates, iterator, copy constructor, member initializer, etc. as well as C++11/14 features such as map, set, etc. which all involve object sizes in some way? 

Thanks! 

Yuchen Zhou
TECHNICAL LEADER.ENGINEERING
Cisco Systems Inc.


-----Original Message-----
From: Martin Sebor [mailto:msebor@xxxxxxxxx] 
Sent: Monday, February 5, 2018 2:02 PM
To: Yuchen Zhou (yuczhou) <yuczhou@xxxxxxxxx>; gcc-help@xxxxxxxxxxx
Subject: Re: GNU OSC (Object Size Checking)

On 02/05/2018 01:11 PM, Yuchen Zhou (yuczhou) wrote:
> Hi,
>
> GNU OSC is a C extension. Is there any work in progress for C++? I understand checking on C++ object sizes is a lot more difficult but would like to know if such effort exists....

It works in both languages.  With the exception of a couple of minor enhancements that I've done some work on in the GCC
7 and 8 cycles that either weren't accepted (bug 77608) or that I'm not done with yet (bug 83859) there is no work that I'm aware of.  What kind of C++ extensions do you have in mind?

Martin




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux