[Libav-user] g++ 4.7.2 fails to compile av_err2str
"René J.V. Bertin"
rjvbertin at gmail.com
Mon Jan 14 11:20:24 CET 2013
On Jan 14, 2013, at 11:01, Wang Bin wrote:
> > g++ 4.7.2 fails to compile av_err2strI use av_err2str
> > in a c++ file, g++ 4.7.2 can not compile it. The error
> > message is "taking address of temporary array".
>
That's a surprising error for me ... the only physical explanation for a variable not having an address is when it is assigned to a register IMHO ... and the compiler is not supposed to do that when the variable's address is used later on. Semantics imposed by C++?
R.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130114/cb504509/attachment.html>
More information about the Libav-user
mailing list