[x264-devel] Re: Stricter bs_init() parameter typing in bs.h...

Peter Cech pcech at vision.ee.ethz.ch
Fri Apr 1 14:54:25 CEST 2005


On Sat, Apr 02, 2005 at 00:00:38 +1200, Peter Booth wrote:
> I have to admit I'm not too flash on C++ either but have to use it in this
> case.  All x264 includes in my code are already wrapped as extern "C" as you
> suggest and the calls to bs_init() in question are made within the x264
> source so I can't recast the parameter before passing.  But thank you for
> your reply.

Are you trying to compile C sources with C++ compiler? That's not a good
idea. In general C can be compiled by C++ compiler, but there are few
things that are incompatible. The best would be to compile x264 files with C
compiler and then link it with the rest of your C++ program.

Regards,
Peter Cech

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list