Comments (5)
I also tested it on Lubuntu 15.10 with gcc 5.2.1. Same error message.
from pybind11.
I pushed a fix -- can you please verify that it works now?
from pybind11.
That did fix it. Strange though. Looking at the preprocessed output before and after, they are essentially the same. I'm not sure if it is complaining about the decltype(~l) or the 'return ~l;'. It seems to me to be unambiguous in either case.
from pybind11.
And I just tested the build with Visual Studio 2015 and it does compile cleanly there (with the fa1bfb2 commit).
from pybind11.
Ok, good. I'm closing the ticket.
from pybind11.
Related Issues (20)
- [BUG]: Function with Param of type `const Eigen::VectorXd&` causes "windows fatal exception: access violation" on Windows
- [BUG]: 在vs2019下编写回调函数接口引用pybind11/function.h时编译会显示“语法错误:意外的令牌标识符,预期的令牌为类型说明符”
- [BUG]: Compilation failure with GCC 10.2 on pybind11 2.13.0 (typing.h, line 209) HOT 9
- [BUG]: Typing.h not working with gcc-14 (line 104) HOT 5
- [BUG]: Disappearing return value
- [BUG]: Docstring Types for Numpy/Eigen Matricies
- [Bug]: Pybind failed to build due to error LNK2019 on windows with MSVC Target ARM64
- Linking is really slow with Ninja CMake generator, but not Unix Makefiles
- [BUG]: bounds checking problem HOT 6
- [Issue]: Segmentation Fault When Sequentially Calling Two Independent Pybind11 Functions
- [BUG]: pybind11 failed to build due to ImportError: DLL load failed while importing test_cmake_build on windows with MSVC ASAN
- [BUG]: iterators are needlessly slow / need an exception-free way of finishing. HOT 1
- [BUG]: 6 tests fail
- [BUG]: Strict aliasing error on MinGW
- [BUG]: gil_safe_call_once_and_store is not NoGil thread safe. HOT 1
- [BUG]: CVE-2022-42969 being flagged in project using pybind
- [BUG]: `FindPythonLibsNew.cmake` failed to find Python libraries with Python 3.13t on Windows HOT 1
- [BUG]: Variant value reset to default when passing Python instance to C++ HOT 1
- [BUG]: static numpy array_t leads to segfault on exit on Python 3.12
- [BUG]: implicitly_convertible with templated constructor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybind11.