Commit Graph

2437 Commits

Author SHA1 Message Date
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
149bfe1c93 libcpp has no invoke_result. 2018-04-04 18:37:59 +01:00
jzmaddock
4370498457 std::invoke is only feature complete in VC2015.3 and later. 2018-04-04 18:20:47 +01:00
jzmaddock
3764d61f25 BOOST_NO_CXX17_STD_INVOKE: Update test case to check we have std::invoke_result.
MSVC has no std::invoke in C++14 mode.
GCC has no std::invoke_result prior to 7.1.
2018-04-03 19:08:57 +01:00
Peter Kolbus
77a290c237
Fix MSVC C4668 on _HAS_NAMESPACE
Resolve MSVC warning C4668 (undefined preprocessor macro) for _HAS_NAMESPACE by short-circuiting (checking for Green Hills compiler first).
2018-03-26 22:19:21 -05:00
jzmaddock
200d36776e Merge branch 'develop' 2018-03-25 10:36:23 +01:00
jzmaddock
d9d5ece1c8 Revert "BOOST_STATIC_CONSTANT should use constexpr"
This reverts commit 51f1178921.
2018-03-18 10:53:41 +00:00
Zach Laine
d03a3756d9 Add static_asserts() to a false path in boost_no_cxx_if_constexpr.ipp as a
further check of implementation correctness.
2018-03-17 13:37:34 -05:00
jzmaddock
90238fe435
Merge pull request #213 from Kojoley/patch-1
BOOST_STATIC_CONSTANT should use constexpr
2018-03-16 18:24:58 +00: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
jzmaddock
dca252c087 cstdint.hpp: Move the #pragma system_header to catch more cases.
See https://github.com/boostorg/config/issues/190.
2018-03-16 18:10:43 +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
47c2b0a74a Merge branch 'develop'
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2018-03-07 18:04:01 +00: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
Nikita Kniazev
51f1178921
BOOST_STATIC_CONSTANT should use constexpr 2018-02-24 20:17:36 +03:00
jzmaddock
f68542269a config_info: add more architecture specific macros. 2018-02-22 12:50:48 +00:00
jzmaddock
29ceb18264 Merge branch 'develop' 2018-02-18 18:39:35 +00:00
jzmaddock
bfd85ac978
Merge pull request #212 from glenfe/develop
Variable templates are somewhat unusable in GCC 5.1 (bug 65719)
2018-02-10 11:59:13 +00:00
Glen Fernandes
db4ebfca6f Variable templates are somewhat unusable in GCC 5.1 (bug 65719) 2018-02-09 07:58:30 -05:00
jzmaddock
0275380f32 Appveyor: try to fix quoting in batch script. 2018-01-30 17:58:24 +00:00
jzmaddock
29dbea1b5a Appveyor: yet another attempt to print config_info for each build config. 2018-01-30 09:17:01 +00:00
jzmaddock
2de7d27bfd Appveyor: correct ^ typo. 2018-01-28 19:43:33 +00:00
jzmaddock
bc99a449c1 Appveyor: give up trying to loop through cxxstd options for now... 2018-01-28 19:40:28 +00:00
jzmaddock
d566c119a7 Appveyor: yet another command line escaping attempt... 2018-01-28 19:37:10 +00:00
jzmaddock
8e14096bf3 appveyor: yet another try at command for loop. 2018-01-28 19:31:25 +00:00
jzmaddock
81b7dfb728 Appveyor: try again with FOR loop. 2018-01-28 19:23:20 +00:00
jzmaddock
5ac217aa3f Config: correct appveyor.yml multi-config builds. 2018-01-28 19:07:22 +00:00
jzmaddock
d0b3e9d59e Config: Fix up cygwin support as follows:
* Define BOOST_HAS_STDINT_H in more situations.
* Disable BOOST_NO_CXX14_HDR_SHARED_MUTEX in -std=c++XX mode as the std header doesn't compile (cygwin bug).
* Add more tests to CI.
2018-01-28 18:37:04 +00:00
jzmaddock
bb095bf0e7
Merge pull request #210 from boostorg/feature/travis-libc++
Add clang++-libc++, g++ 4.4, g++ 4.6 to Travis
2018-01-25 10:15:04 +00:00
jzmaddock
73cff8ec7c
Merge pull request #209 from boostorg/pr/pragma-message-intel
Add file/line to BOOST_PRAGMA_MESSAGE on Intel C++
2018-01-25 10:13:35 +00:00
jzmaddock
e87ea67c61
Merge pull request #205 from akrzemi1/develop
Added macro BOOST_NO_CXX11_DEFAULTED_MOVES
2018-01-25 10:12:08 +00:00
jzmaddock
f04e129c05
Merge pull request #206 from danieljames/feature/deprecated-macros
Update deprecated macros
2018-01-21 10:19:58 +00:00