<div dir="ltr"><div>Hi Stephan,<br><br></div>Indeed it was a C++11 header.<br>Thanks for the help.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-29 9:23 GMT+02:00 Stephan Bergmann <span dir="ltr"><<a href="mailto:sbergman@redhat.com" target="_blank">sbergman@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/28/2014 11:46 AM, Zolnai Tamás wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I tried it an it came out there are other C++11 stuff in the code. I<br>
tried to replace them, but the compiler does not help me with finding<br>
C++11 code. When I compile with --std=c++03 flag, compiler just write out:<br>
error: #error This file requires compiler and library support for the<br>
ISO C++ 2011 standard. This support is currently experimental, and must<br>
be enabled with the -std=c++11 or -std=gnu++11 compiler options.<br>
Is there any option to avoid this general error and force the compiler<br>
to try the older standard.<br>
</blockquote>
<br></span>
That #error message smells like some code includes a standard header that is suitable for C++11 only and includes libstdc++'s bits/c++0x_warning.h which contains<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
#if __cplusplus < 201103L<span class=""><br>
#error This file requires compiler and library support for the \<br>
ISO C++ 2011 standard. This support is currently experimental, and must be \<br>
enabled with the -std=c++11 or -std=gnu++11 compiler options.<br></span>
#endif<br>
</blockquote>
<br>
You need to track down the include stack (which is typically spit out by GCC before showing the #error diagnostic, no?) to see what problematic standard header is being included where.<span class="HOEnZb"><font color="#888888"><br>
<br>
Stephan</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.<u></u>org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/libreoffice</a><br>
</div></div></blockquote></div><br></div>