Comments (6)
Thank you for your input. Much appreciated. Would you mind to clarify under what circumstances it fails to build... because 1) it builds on my machine (ubuntu); 2) it builds and runs in Boorst regression (https://www.boost.org/development/tests/develop/developer/convert.html). From what I understand the "arg" you reference is, in fact, in the std namspace, i.e. std::arg declared in ... which I do not see even included in the mentioned cpp files. SO, again, would you mind shedding some light on how the problem pops up? Thanks.
from convert.
Thanks for your quick response. I build the tests on gcc-8.1.0 & C++14. If it cannot be reproduced in your environment, it would be probably due to arg is not declared in your complex.h on the C++/toolchain version you are using.
Here is the info about how complex can be included in the boost cpp files.
../libs/convert/test/performance.cpp: At global scope:
../libs/convert/test/performance.cpp:31:38: error: 'namespace arg = boost::cnv::boost::cnv::parameter;' redeclared as different kind of symbol
namespace arg = boost::cnv::parameter;
^
In file included from ccomplex:16,
from complex:5,
from boost_1_70_0/boost/type_traits/is_complex.hpp:12,
from boost_1_70_0/boost/type_traits.hpp:96,
from boost_1_70_0/boost/convert/detail/is_fun.hpp:11,
from boost_1_70_0/boost/convert.hpp:28,
from ../libs/convert/test/performance.cpp:13:
complex.h:664:20: note: previous declaration 'long double arg(_Lcomplex)'
inline long double arg(_Lcomplex _Left)
^~~
from convert.
from convert.
I'm not sure why the boost regression can pass. Perhaps need to confirm if is_complex.hpp is included and how arg(the conditionals, etc) is defined in complex.
from convert.
I have no forgotten about the issue. Just recently upgraded to gcc-8.3. Will be trying to see why tat might be failing... because IMO it should not. :-)
from convert.
Can't reproduce. Closing.
from convert.
Related Issues (12)
- std::isspace requires unsigned HOT 22
- convert<float> doesn't respect input size HOT 16
- Boost library convert failed to build due to .\boost/convert/stream.hpp(32): error C2039: 'noncopyable': is not a member of 'boost' HOT 2
- Boost library spirit failed to build due to .\boost/spirit/home/qi/nonterminal/rule.hpp(304): error C2664: 'bool boost::function4<R,T0,T1,T2,T3>::operator ()(T0,T1,T2,T3) const': cannot convert argument 4 from 'const Skipper' to 'T3' HOT 1
- min() macro conflict HOT 9
- convert failure. boost::cnv::strtol exception HOT 3
- One test from boost libraries failed to run after boost submodule convert updated from 8b6a8e to 72a571 HOT 1
- convert_test_performance failed to link for <link>shared HOT 3
- The library is a C++11 library and should be documented as such HOT 7
- `boost::cnv::printf` uses wrong format for str to double HOT 1
- charconv (from_chars) converter HOT 1
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 convert.