Commit Graph

1465 Commits

Author SHA1 Message Date
jzmaddock
d265f48d7b Don't use __attribute__((__visibility__("default"))) for clang on windows as it isn't supported.
Fixes https://github.com/boostorg/config/issues/226.
2018-08-03 18:21:18 +01:00
jzmaddock
87f56edb22
Merge pull request #228 from lanurmi/message-prefix
Prefix "Unknown compiler version ..." messages with "boost:".
2018-08-02 18:29:17 +01:00
jzmaddock
447dab3d20
Merge pull request #227 from isuruf/auto_link_system
Add support for user defined option BOOST_AUTO_LINK_SYSTEM
2018-08-02 18:19:53 +01:00
jzmaddock
0a22b8dbed Update last tested gcc version. 2018-07-31 19:50:31 +01:00
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
Isuru Fernando
fb903c7180 Add support for user defined option BOOST_AUTO_LINK_SYSTEM
This is to support auto linking when the libraries are built with
system layout
2018-07-10 21:06:20 -06: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
jzmaddock
28b1b02546
Merge pull request #220 from pkolbus/remove-c4668-warning
Fix MSVC C4668 on _HAS_NAMESPACE
2018-04-18 19:21:29 +01:00
jzmaddock
6d8b3bc77b
Merge pull request #222 from jlapolla-cray/cray-config
Update Cray config
2018-04-18 19:19:33 +01:00
Daniel James
17c6806797 Bump to 1.68.0 2018-04-15 20:53:20 +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
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
d9d5ece1c8 Revert "BOOST_STATIC_CONSTANT should use constexpr"
This reverts commit 51f1178921.
2018-03-18 10:53:41 +00: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
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
Glen Fernandes
db4ebfca6f Variable templates are somewhat unusable in GCC 5.1 (bug 65719) 2018-02-09 07:58:30 -05: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
Peter Dimov
2ec8f0fc73 Add file/line to BOOST_PRAGMA_MESSAGE on Intel C++ 2018-01-19 05:01:39 +02:00
Peter Dimov
9d3cef6dba Define BOOST_NO_CXX11_THREAD_LOCAL for libc++ on Linux 2018-01-18 21:45:06 +02:00
Andrzej Krzemieński
0d0211e4d5
comment typeo fix 2018-01-11 21:21:20 +01:00
Daniel James
95fe1c03ac Update deprecated macros 2018-01-10 15:27:31 +00:00
akrzemi1
3ec5a2b573 Added macro BOOST_NO_CXX11_DEFAULTED_MOVES 2018-01-04 00:58:32 +01:00
Peter Dimov
da9f4d062b Add BOOST_HEADER_DEPRECATED 2017-12-23 01:52:52 +02:00
Daniel James
a28e9c6c1c Bump to 1.67.0 2017-12-18 17:04:53 +00:00
bitsrules
f6296c0495
Update to newest Visual Studio 2017 2017-12-13 14:58:09 +09:00
jzmaddock
4ba6b9d545 Config: Add file and line number info to visualc.hpp #pragma message. 2017-12-12 18:20:27 +00:00
jzmaddock
5fa3b7d00c Merge branch 'feature/pragma-message' into develop
# Fixed Conflicts:
#	doc/html/index.html
2017-12-12 18:15:37 +00:00
jzmaddock
ae3c914e70
Merge pull request #198 from boostorg/msvc_15_5
Apply changes required by MSVC-15.5.
2017-12-12 10:00:24 +00:00
jzmaddock
1f86d51030 Config.MSVC-15.5: We still need to define BOOST_NO_TWO_PHASE_NAME_LOOKUP as we can't tell if /permissive- is in effect or not. 2017-12-11 19:27:07 +00:00
jzmaddock
464f30fe36 Config.MSVC-14.5: complete changes required, update appveyor.yml to test /permissive-. 2017-12-09 18:08:39 +00:00
jzmaddock
44e0d3ec75 Config.MSVC-14.5: complete configuration of new compiler features. 2017-12-09 18:02:33 +00:00
jzmaddock
e376809717 Config.msvc-15.5: enable some initial C++17 features. 2017-12-09 12:44:38 +00:00
jzmaddock
ac0cc94982 Config.MSVC-15.5: BOOST_NO_CXX11_SFINAE_EXPR no longer required in C++14 or later mode. 2017-12-08 20:01:39 +00:00
Peter Dimov
23327d6d01 Suppress BOOST_PRAGMA_MESSAGE messages when BOOST_DISABLE_PRAGMA_MESSAGE is defined 2017-12-04 19:15:36 +02:00
Peter Dimov
08bd1dbe71 Move BOOST_STRINGIZE, BOOST_JOIN to config/helper_macros.hpp; use BOOST_STRINGIZE in BOOST_PRAGMA_MESSAGE 2017-12-04 18:05:05 +02:00
Peter Dimov
025db91843 Add BOOST_PRAGMA_MESSAGE 2017-12-04 00:55:14 +02:00
Olaf van der Spek
9efa768e30
Typo in visualc.hpp 2017-11-17 11:18:48 +01:00
jzmaddock
644073bcf7 Merge pull request #187 from eldiener/develop
A number of places use BOOST_GCC_VERSION rather than just BOOST_GCC w…
2017-10-25 18:31:14 +01:00
jzmaddock
907cb7ca8b Merge pull request #185 from kuhlenough/develop
Update config for VxWorks 7
2017-10-25 18:30:04 +01:00
Peter Dimov
e276412eb9 Merge pull request #160 from boostorg/pr/arch-and-model-autolink
Use architecture and address model in autolink
2017-10-20 18:46:13 +03:00
Edward Diener
f4d91c7aa2 A number of places use BOOST_GCC_VERSION rather than just BOOST_GCC when testing workarounds so we need to define BOOST_GCC_VERSION_WORKAROUND_GUARD also. 2017-10-07 09:47:41 -04:00
Brian Kuhl
421866a4b2 Update vxworks.hpp
Add additional configuration guidence
2017-09-05 22:01:13 -04:00
Brian Kuhl
2356a7e9c4 Additional feature disabling defines for Diab compiler 2017-09-02 06:38:18 -04:00
Brian Kuhl
918c5fc486 Update vxworks.hpp for VxWorks 7 2017-09-02 06:21:57 -04:00
jzmaddock
a7dd324d41 Merge pull request #175 from boostorg/jzmaddock-patch-6-1
Update for CUDA version macro changes.
2017-08-22 18:55:15 +01:00
jzmaddock
593389dc4b Update nvcc.hpp 2017-08-18 18:13:38 +01:00
jzmaddock
02888f5052 Merge pull request #179 from MarcelRaad/msvc1411
MSVC: 14.11 supports structured bindings in C++17 mode
2017-08-18 18:06:05 +01:00