| 817 | |
| 818 | '''Boost 1.46.1 libraries on a Fedora 7 Linux''' |
| 819 | |
| 820 | [http://lists.boost.org/Archives/boost/2011/03/179178.php] |
| 821 | |
| 822 | Boost 1.46.1 libraries on a Fedora 7 Linux system with the default g++ 4.1.2. |
| 823 | |
| 824 | The warnings from the math library produce zillions of lines of output. Each warning has a long description of the instantiation and then concludes with a couple of |
| 825 | lines like this: |
| 826 | |
| 827 | {{{ |
| 828 | ./boost/math/special_functions/binomial.hpp:65: instantiated from here |
| 829 | ./boost/mpl/assert.hpp:79: warning: lowering visibility of 'int |
| 830 | mpl_::assertion_failed(typename mpl_::assert<C>::type) [with bool C = |
| 831 | false]' to match its type |
| 832 | }}} |
| 833 | |
| 834 | The workaround for this is to add |
| 835 | |
| 836 | cxxflags=-Wno-attributes |
| 837 | |
| 838 | to the <compileflags> and <linkflags> in user-config file |
| 839 | |
| 840 | Fixed by Redhat for g++ 4.5.1 on Fedora 14 |
| 841 | |