Commit Graph
667 Commits
Author SHA1 Message Date
Lauri Nurmi 024dbed67e Merge branch 'develop' into message-prefix 2018-07-12 09:42:07 +03:00
Lauri Nurmi cdf41efdd3 Prefix "Unknown compiler version ..." messages with "boost:".
Makes it easier to figure out which library is outputing such messages
during compilation.
2018-07-12 09:33:40 +03:00
jzmaddock 9fd87d6d7d CUDA 9 does support constexpr for msvc. 2018-07-09 17:54:42 +01:00
Peter Dimov eb68e4725a Add parentheses to BOOST_CUDA_VERSION
Expressions like `BOOST_CUDA_VERSION / 1000000` don't work correctly; add parentheses around the expression to fix.
2018-04-28 20:32:16 +03:00
jzmaddock 29b754ed08 Merge pull request #216 from tzlaine/develop
Add BOOST_NO_CXX17_IF_CONSTEXPR.
2018-04-18 19:26:47 +01:00
Justin LaPolla d70b298826 Fix typo in comment in 'cray.hpp' 2018-04-11 13:25:17 -05:00
Justin LaPolla 664b2fdec8 Update 'cray.hpp' for CCE 8.6.4 2018-04-11 13:25:17 -05:00
Justin LaPolla 42e1c7913a Update 'cray.hpp' for CCE 8.6.5 2018-04-11 13:25:17 -05:00
Justin LaPolla 5e33b4c27a Update 'cray.hpp' for upcoming release 2018-04-11 13:25:17 -05:00
Justin LaPolla 54c07da09b Update copyright information 2018-04-11 13:25:17 -05:00
Justin LaPolla 7238f9f0f6 Fix 'cray.hpp' BOOST_NO_CXX11_HDR_ATOMIC setting 2018-04-11 13:25:17 -05:00
Justin LaPolla c04b991321 Add section for next release to 'cray.hpp' 2018-04-11 13:25:17 -05:00
Justin LaPolla 3144e2a8e4 Fix comments in 'cray.hpp' 2018-04-11 13:25:17 -05:00
Justin LaPolla 620f819e3b Handle Cray developer builds 2018-04-11 13:25:17 -05:00
Justin LaPolla 07993e2e2f Remove redundant macro definitions in 'cray.hpp'
- This commit had no effect on test results.
2018-04-11 13:25:17 -05:00
Justin LaPolla 900c36e2fb 'cray.hpp' empty section for 8.7.0 2018-04-11 13:25:17 -05:00
Justin LaPolla d1e0933528 Improve Cray 8.6.5 C++2003 configuration 2018-04-11 13:25:17 -05:00
Justin LaPolla 382913d25d Work on Cray 8.6.5 C++2011 configuration 2018-04-11 13:25:17 -05:00
Justin LaPolla ea46cf5332 Set more macros in 'cray.hpp' 2018-04-11 13:25:17 -05:00
Justin LaPolla 026ebd864e Alphabetize macros in 'cray.hpp'
- Did not change any macro values.
2018-04-11 13:25:17 -05:00
Justin LaPolla f2eca6c7fa Add comments in 'cray.hpp' 2018-04-11 13:25:17 -05:00
Justin LaPolla 3c4ea795d7 Add explanatory comments to 'cray.hpp' 2018-04-11 13:25:17 -05:00
Justin LaPolla d26ae70b20 BOOST_NO_DEDUCED_TYPENAME test is broken 2018-04-11 13:25:17 -05:00
Justin LaPolla 90ae208868 BOOST_NO_COMPLETE_VALUE_INITIALIZATION test is broken 2018-04-11 13:25:17 -05:00
Justin LaPolla 82c6e933f1 Remove 'BOOST_HAS_CLOCK_GETTIME' from 'cray.hpp'
- This is a platform specific macro that is set elsewhere. It does not
  belong in a compiler configuration header.
- This commit has no effect on test results for CCE 8.6.5 with C++14.
2018-04-11 13:25:17 -05:00
Justin LaPolla bf628a3b3e Fix 'BOOST_NO_DEDUCED_TYPENAME' in 'cray.hpp'
- Cray compiler requires the 'typename' keyword before a dependent type.
2018-04-11 13:25:17 -05:00
Justin LaPolla f7165b4f70 Add comments on macro definitions in 'cray.hpp' 2018-04-11 13:25:17 -05:00
Justin LaPolla 83c9f74990 Add '<linkflags>-lrt' to 'cray.hpp' test specification 2018-04-11 13:25:17 -05:00
Justin LaPolla bea3493fcb Add comments in 'cray.hpp' 2018-04-11 13:25:17 -05:00
Justin LaPolla 5679e66d10 Add more notes about 'cray.hpp' failing tests 2018-04-11 13:25:17 -05:00
Justin LaPolla f34ea93eb2 Document test procedure for 'cray.hpp'
- It took me a while to figure out that I had to be in the 'test/all'
  directory.
2018-04-11 13:25:17 -05:00
Justin LaPolla 9c220e9fff Work on Cray 8.6.5 header for C++14
- We're down to 7 failing tests in 'test/all'.
2018-04-11 13:25:17 -05:00
Justin LaPolla 31cbd59c85 'cray.hpp' remove unneeded macros for C++14
- Test still passes: `b2 -q toolset=craype cxxstd=14
  cxxstd-dialect=gnu`.
2018-04-11 13:25:17 -05:00
Justin LaPolla da5012a135 Work on 'cray.hpp' for C++2003 version 8.6.5
- All tests pass except the 'qnan' test mentioned in the previous
  commit. The test command line is: `b2 -q toolset=craype cxxstd=03
  cxxstd-dialect=gnu`
2018-04-11 13:25:17 -05:00
Justin LaPolla 76ee8244df Fix 'cray.hpp' for C++11 version 8.6.5
- All tests pass except that one about 'qnan' (described in the last
  commit). The test command line is: `b2 -q toolset=craype cxxstd=11
  cxxstd-dialect=gnu`.
2018-04-11 13:25:17 -05:00
Justin LaPolla f18418b17a Work through tests with 'cray.hpp'
- Almost everything is passing. The only thing that's failing is
  'limits_test.cpp', which is failing tests on lines 160 and 161 (shown
  below).

  if(lim::is_iec559)
  {
    BOOST_TEST(! (qnan == qnan)); # __LINE__ == 160
    BOOST_TEST(qnan != qnan); # __LINE__ == 161
  }
2018-04-11 13:25:17 -05:00
Justin LaPolla c78aa62469 Undefine temporary macros in 'cray.hpp' 2018-04-11 13:25:17 -05:00
Justin LaPolla e20aa6d187 Remove duplicate macros in 'cray.hpp' 2018-04-11 13:25:17 -05:00
Justin LaPolla b21d168410 Sort macro definitions in 'cray.hpp'
- There are some duplicates. This commit does not remove the duplicates.
2018-04-11 13:25:17 -05:00
Justin LaPolla 9e9ba3361d Cosmetic refactoring
- Nothing really changed, besides readability.
2018-04-11 13:25:17 -05:00
Justin LaPolla 790a047107 Refactor cray.hpp logic
- The effect of the logic is the same as before, but it is organized
  according to the outline described in the comments. The only change in
  the logic is that we always include 'common_edg.hpp', since we know we
  are only dealing with EDG based compilers.
2018-04-11 13:25:17 -05:00
Justin LaPolla 745a1eb4f8 Refactoring cray.hpp
- Added comments and file structure outline.
- Added basic identifying information (e.g. BOOST_COMPILER).
2018-04-11 13:25:17 -05:00
jzmaddock 2814b40640 Merge pull request #217 from Lastique/cygwin_dllattr
Use dllimport/dllexport with clang and gcc on Cygwin.
2018-03-16 18:15:30 +00:00
jzmaddock f48572a067 Merge pull request #218 from danieljames/fix-boost-gcc-on-intel
Undefine BOOST_GCC for intel compilers
2018-03-16 18:13:59 +00:00
Daniel James 3cf434c002 Undefine BOOST_GCC for intel compilers
Otherwise it's just defined as BOOST_GCC_VERSION.
2018-03-11 21:12:53 +00:00
Andrey Semashev 3b709bc3ed Use dllimport/dllexport with clang and gcc on Cygwin.
This is required at least for Boost.WinAPI to match the declarations in
Windows SDK headers, which use dllimport.

Also, for clang on Windows, use dllimport/dllexport even beyond Cygwin.
The compiler does support these attributes, and it should for
compatibility with Windows headers.
2018-03-11 17:37:13 +03:00
jzmaddock 5ad0730630 visualc.hpp: Disable warning about outdated config. 2018-03-07 18:02:01 +00:00
Zach Laine 15d78e548f Add BOOST_NO_CXX17_IF_CONSTEXPR. 2018-03-06 17:44:52 -06:00
Glen Fernandes db4ebfca6f Variable templates are somewhat unusable in GCC 5.1 (bug 65719) 2018-02-09 07:58:30 -05:00
akrzemi1 3ec5a2b573 Added macro BOOST_NO_CXX11_DEFAULTED_MOVES 2018-01-04 00:58:32 +01:00