Andrey Semashev
01ab510585
Removed usage of deprecated header boost/detail/iterator.hpp.
...
The header is deprecated in favor of <iterator>. It generates compiler
warnings and will be removed in a future release.
2020-08-07 18:09:31 -04:00
Edward Diener
5e2d55d801
Revert back to original, as __cdecl is fine with the Embarcadero C++ clang-based compilers.
2020-08-07 17:35:12 -04:00
Edward Diener
17886fc296
Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers.
2020-08-07 17:35:12 -04:00
Stefan Seefeld
15115eb1f8
Fix appveyor build failures.
2020-08-07 14:04:30 -04:00
Julien Schueller
1727b67a5a
detail/caller.hpp:127:2: error: extra ';' [-Wpedantic]
2019-06-01 19:07:40 -04:00
Peter Dimov
0a9b687e9e
Merge pull request #264 from boostorg/pr/fix-numpy-install
...
Only boost-install boost_numpy when it's being built
2019-04-17 15:08:15 -07:00
Peter Dimov
8c8b0dc215
Only boost-install boost_numpy when it's being built
2019-04-18 00:02:52 +03:00
Nikita Kniazev
fdc9ec760f
Fixed module tests fail
...
Since recently lightweight_test introduced a sanitation to ensure that
`boost::report_errors()` is called, and it does not in module tests.
The problem could be fixed by exporting the function and calling it from
these python tests, but as it already done in other module tests I just
turned those usages lightweight_test to a regular assertation.
2019-03-31 20:36:56 -04:00
Stefan Seefeld
102acf1d34
Merge branch 'develop'
boost-1.71.0.beta1
boost-1.70.0
boost-1.74.0
boost-1.73.0.beta1
boost-1.73.0
boost-1.72.0.beta1
boost-1.72.0
boost-1.74.0.beta1
boost-1.71.0
2019-03-29 09:41:46 -04:00
Nikita Kniazev
0b0c0536d6
The right hypot fix for MinGW
2019-03-26 15:56:03 -04:00
Owens
0d0cd711a7
Enable forward declaration of unwind_type() in msvc14.15 and later.
...
Name lookup in msvc has changed between 14.14 and 14.15 making it consistent with other compilers. Forward declaration of unwind_type() is now required as it is for other compilers.
Resolves compilation errors identified in:
https://github.com/boostorg/python/issues/228
2019-03-25 11:00:48 -04:00
Jonathan Wakely
72e254bf8b
Fix name of file in tutorial
...
I think it's meant to refer to the Jamroot file being discussed, not Jamrules.
2019-03-23 20:38:29 -04:00
Nikita Kniazev
1f1b9b6aef
Fix hypot issue on MinGW
2019-03-23 20:37:35 -04:00
Nikita Kniazev
6bd6d71850
Fix -Wregister error on Clang in C++17 mode
...
Suppresses the warning on GCC, Clang, and MSVC.
2019-03-21 16:40:41 -04:00
Stefan Seefeld
b9c0e58d57
Merge branch 'develop'
boost-1.70.0.beta1
2019-03-05 21:39:52 -05:00
Tom Kent
4b01139720
Ssize t warning - trac #3353 ( #21 )
...
Fixes msvc unsafe type conversion warning - trac num: 3353
2019-03-03 22:02:57 -05:00
SPKorhonen
65bfec2d97
Fix static object initialization under Visual Studio 2017 ( #208 )
...
Fix static object initialization under VS 15.7.2
2019-03-03 21:59:48 -05:00
Orivej Desh
4f6d547c0a
clear python exception after expected attribute lookup failure
...
Python 3.7.0 asserts that attribute lookup functions are called without outstanding exceptions:
https://github.com/python/cpython/blob/v3.7.0a2/Objects/typeobject.c#L3037
Motivation: https://bugs.python.org/issue34068#msg321262
Therefore the error set by the first PyObject_GetItem should be cleared before calling PyObject_GetAttrString.
2019-02-13 23:38:02 -05:00
Stefan Seefeld
90813b1ad7
Merge branch 'develop'
2019-01-10 18:45:39 -05:00
Peter Dimov
b644946368
Add comments explaining the stage/install targets in build/Jamfile
2018-10-12 14:34:15 -04:00
Peter Dimov
c7799aa44f
Add empty stage/install targets when Python is not configured
2018-10-12 14:34:15 -04:00
Peter Dimov
02095af952
Use boost-install in build/Jamfile
2018-10-12 09:42:51 -04:00
Stefan Seefeld
6f72675bff
Merge branch 'develop'
boost-1.69.0-beta1
boost-1.69.0
boost-1.68.0
2018-07-11 19:25:10 -04:00
Moritz Wanzenböck
ed4776b59c
Add missing return statement in numpy import
...
This adds a missing return statement in the python3 specific
import logic of boost.python.numpy.
For python3 wrap_import_array() needs to return a pointer value.
The import_array() macro only returns NULL in case of error. The
missing return statement is UB, so the compiler can assume it does
not happen. This means the compiler can assume the error branch
is always taken, so import_array must always fail.
2018-07-11 16:40:19 -04:00
Markus Gerstel
ac62db1cf1
Drop injector code example from tutorials.
...
This example depends on the behaviour of ```__metaclass__```. This has
changed in python 3, and the example no longer works. Removing example
code as suggested, see #210 for more details and possible alternatives.
Closes #210 .
2018-06-08 14:59:41 -04:00
Stefan Seefeld
b4230e98f6
Fix auto-linking logic for boost_numpy (Windows only).
2018-06-04 09:34:00 -04:00
Stefan Seefeld
467a89eba7
Fix issue 198.
2018-05-06 13:35:16 -04:00
The Gitter Badger
28e2c6512c
Add Gitter badge
2018-05-03 10:19:01 -04:00
Stefan Seefeld
b0f512c15a
Merge branch 'develop'
2018-04-17 21:32:48 -04:00
Stefan Seefeld
77ff0d6bbc
Fix CI OSX build failure.
2018-04-17 20:41:17 -04:00
Stefan Seefeld
24313709a7
Fix auto-linking logic (Windows only).
2018-04-12 23:39:22 -04:00
Stefan Seefeld
ac9fa536c8
Add OSX to CI test matrix.
2018-04-08 21:34:48 -04:00
Gaurav
7352c9c0f7
Remove not reachable condition.
...
Line no 138-139 suggest if condition satisfy if n_actual <=max_arity :
if (n_actual + f->m_nkeyword_values >= min_arity
&& n_actual <= max_arity)
So condition at Line no 161 is not reachable.
2018-04-08 21:18:57 -04:00
Stefan Seefeld
26ac881b9d
Fix CI links.
2018-04-08 20:41:51 -04:00
Stefan Seefeld
19f6c782aa
Improve CI test coverage.
2018-04-08 18:21:22 -04:00
Stefan Seefeld
f3df1bf912
Remove redundant pragma once directives.
2018-04-07 17:05:18 -04:00
Stefan Seefeld
a383ecdd88
Fix build warning.
boost-1.67.0
2018-03-19 13:58:48 -04:00
Stefan Seefeld
d515eb82c8
Fix build warning.
2018-03-15 15:29:06 -04:00
Stefan Seefeld
0021720a46
Conditionalize targets on Python configuration.
2018-03-11 10:31:21 -04:00
Stefan Seefeld
61591f7ad2
Enable more MSVC versions.
2018-03-09 13:17:24 -05:00
Stefan Seefeld
6b8ab7a5a3
Conditionalize tests.
2018-03-09 13:08:07 -05:00
Stefan Seefeld
02e079cf4d
Merge branch 'develop'
2018-03-08 07:07:42 -05:00
Stefan Seefeld
9039286937
Remove references to scons from README.
2018-03-07 16:54:10 -05:00
Stefan Seefeld
429ac28c4a
Streamline CI logic.
2018-03-07 15:09:02 -05:00
Stefan Seefeld
1db3871f50
Remove obsolete scons-based build logic.
2018-03-07 15:09:02 -05:00
Stefan Seefeld
66dad425aa
Build docs with faber.
2018-03-07 15:09:02 -05:00
Stefan Seefeld
ed3cbf8a60
Start to collect release notes.
2018-02-25 17:39:18 -05:00
Stefan Seefeld
2f6e728de5
Fix misspelled operator name.
2018-02-20 16:43:58 -05:00
Stefan Seefeld
65be0e0f0f
Only iterate over multiple calling conventions on x86.
2018-02-15 22:17:04 -05:00
Stefan Seefeld
d4d41d94ae
Add Python version to library suffix.
2018-02-13 17:22:34 -05:00