1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>Compilers</title> 5<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../../index.html" title="Chapter 1. Phoenix 3.2.0"> 8<link rel="up" href="../experience.html" title="Experience"> 9<link rel="prev" href="bugs_to_be_fixed.html" title="Bugs to be fixed"> 10<link rel="next" href="../../wrap_up.html" title="Wrap Up"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> 15<td align="center"><a href="../../../../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="bugs_to_be_fixed.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../experience.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../wrap_up.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h4 class="title"> 27<a name="phoenix.maintenance.experience.compilers"></a><a class="link" href="compilers.html" title="Compilers">Compilers</a> 28</h4></div></div></div> 29<p> 30 I have been attempting to understand the differences between compilers 31 and environments when running tests on Boost Phoenix. 32 </p> 33<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 34<li class="listitem"> 35 Some environments are limited in the memory available for testing and 36 I have broken some large tests into smaller pieces. 37 </li> 38<li class="listitem"> 39 Some of the problems experienced in testing are specific to particular 40 compilers being used. 41 </li> 42<li class="listitem"> 43 Some problems have occurred with several more recent compilers. 44 </li> 45<li class="listitem"> 46 One problem is that I do not have access to all of the compilers used 47 in the tests or by users. 48 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 49<li class="listitem"> 50 My system is <a href="http://www.ubuntu.com/" target="_top">Ubuntu </a> 51 12.04 52 </li> 53<li class="listitem"> 54 I have expanded the compilers I have available to include the 55 following 56 </li> 57<li class="listitem"> 58 <a href="https://gcc.gnu.org" target="_top">gcc </a> 4.6, 4.8.2, 4.9.0 59 & 4.9.2 (I will add 5.0 when released) 60 </li> 61<li class="listitem"> 62 <a href="http://clang.llvm.org" target="_top">Clang </a> 3.4, 3.5 & 63 3.6 (pre-release in the last case) 64 </li> 65</ul></div> 66 </li> 67<li class="listitem"> 68 The most difficult problems to diagnose have been some which occur 69 when the compilation uses optimization. 70 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: circle; "> 71<li class="listitem"> 72 Some of the boost tests use optimization but most do not. 73 </li> 74<li class="listitem"> 75 It is not usually documented which tests are optimized. 76 </li> 77<li class="listitem"> 78 This means that a lot of tests run there which fail when optimized. 79 </li> 80<li class="listitem"> 81 This has made the identification of the cause of the problems 82 more difficult. 83 </li> 84</ul></div> 85 </li> 86</ul></div> 87</div> 88<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 89<td align="left"></td> 90<td align="right"><div class="copyright-footer">Copyright © 2002-2005, 2010, 2014, 2015 Joel de Guzman, Dan Marsden, Thomas 91 Heller, John Fletcher<p> 92 Distributed under the Boost Software License, Version 1.0. (See accompanying 93 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 94 </p> 95</div></td> 96</tr></table> 97<hr> 98<div class="spirit-nav"> 99<a accesskey="p" href="bugs_to_be_fixed.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../experience.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../wrap_up.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> 100</div> 101</body> 102</html> 103