2011/4/28 Alex Converse <[email protected]>

> This code already won't compile in a C++ compiler because of the way
> it uses malloc().
>
I know a lot of things why LibAV sources couldn't be compiled with C++
compiler
however I interested what did you mean by malloc() usage? Usage without
explicit typecast?

Diego Biurrun <[email protected]>

> We are well aware.  But it's always funny when people keep claiming
> that C++ is a superset of C, this will serve as a testament that it
> is not :)
>
Thats simpler to say to students ;). However C++ never designed to be C
superset but claims to be
as most compatible as it possible. A lot of C code can be silently compiled
using C++ compiler
but sure - not all (especially since C99 because C and C++ evolving
different ways and time intervals).

More funny to watch how C developers tries to apply some C++ fundamentals
using preprocessor macros
and structures to 'simulate' classes and templates...
-----------------------------------------------
Kirill Gavrilov,
Software designer.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to