<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 14, 2013, at 11:01, Wang Bin wrote:</div><blockquote type="cite"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">> g++ 4.7.2 fails to compile av_err2strI use av_err2str<br>
<div class="im">> in a c++ file, g++ 4.7.2 can not compile it. The error<br>
> message is "taking address of temporary array".<br>
<br>
</div></blockquote></div></div></blockquote></div><br><div>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++?</div><div><br></div><div>R.</div></body></html>