<div dir="ltr">Why are these extensions not turned off by default?  Normally, things should conform to the standards out-of-the-box; and you should have to explicitly enable extensions.  Following that principle would have avoided this entire thread.<div><br></div><div>-- Elizabeth</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 15, 2016 at 1:50 AM, Patrick Boettcher <span dir="ltr"><<a href="mailto:patrick.boettcher@posteo.de" target="_blank">patrick.boettcher@posteo.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 13 Jun 2016 20:05:23 +0200<br>
Patrick Boettcher <<a href="mailto:patrick.boettcher@posteo.de">patrick.boettcher@posteo.de</a>> wrote:<br>
> > You also need to correctly set the CXX_EXTENSIONS properties to get<br>
> > a standard standard.<br>
><br>
> Yep,<br>
><br>
>   set(CXX_EXTENSIONS OFF)<br>
><br>
> seems to do the trick - thanks.<br>
<br>
Well, it is<br>
<br>
  set(CMAKE_CXX_EXTENSIONS OFF)<br>
<br>
actually. Before the target-definition (add_library or add_executable).<br>
<br>
<br>
--<br>
Patrick.<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>