[vlc-devel] [vlc-commits] picture: socialize the reference counter

Rémi Denis-Courmont remi at remlab.net
Wed Dec 12 19:01:37 CET 2018


Le keskiviikkona 12. joulukuuta 2018, 19.49.12 EET Marvin Scholz a écrit :
> Objective-C is an "extension" of C, everything you can do in C, you can
> do in Objective-C too.

C++ is, or was, marketed as also an "extension" of C, and it turned out that 
it was not. Even C89 cannot be compiled with a C++ compiler. For one thing, 
implicit casts from void pointers are not permitted in C++, and a whole bunch 
of keywords are reserved which are legal identifiers in C.

And then it gets worse with C99 and yet worse with C11. Indeed, lack of 
<stdatomic.h> is a PITA.

So I would be very surprised if Objective-C was, unlike C++, an actual strict 
superset of C. However, it does not look like there are any problems with this 
specific change as far as the buildbot is concerned.

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list