pomerol-ed / gftools Goto Github PK
View Code? Open in Web Editor NEWGreen's function DSL
License: MIT License
Green's function DSL
License: MIT License
Using clang, the example compiles but does complete successfully
...
/Users/user/UMICH/software/gftools/./gftools/real_grid.hpp:155: Invoking find
/Users/user/UMICH/software/gftools/./gftools/real_grid.hpp:158: Point to find is out of bounds, 6.28319>5
libc++abi.dylib: terminating with uncaught exception of type std::logic_error: wrong index: 6.283185
Abort trap: 6
The offending line is here
std::cout << G1(2*PI) << std::endl;
I am running OSX 10.10.5 with clang version:
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
I believe we had the same issue in ALPSCore and fixed it there: CMake's UseDoxygen complains:
CMake Warning (dev) at cmake/UseDoxygen.cmake:138 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
get_target_property() called with non-existent target "doc".
Call Stack (most recent call first):
CMakeLists.txt:28 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
example01.cpp
fails to compile on my machine. The compiler error in question:
In file included from /Users/user/UMICH/software/gftools/./gftools/grid_object.hpp:281:0,
from /Users/user/UMICH/software/gftools/example/example01.cpp:12:
/Users/user/UMICH/software/gftools/./gftools/grid_object.hxx: In instantiation of 'gftools::grid_object_base<ContainerType, GridTypes>::grid_object_base(const gftools::grid_object_base<ContainerType, GridTypes>&) [with ContainerType = gftools::container<double, 1ul>; GridTypes = {gftools::real_grid}]':
/Users/user/UMICH/software/gftools/./gftools/grid_object.hpp:240:108: required from 'gftools::grid_object<typename ContainerType::value_type, GridTypes ...> gftools::grid_object_base<ContainerType, GridTypes>::operator+(const gftools::grid_object_base<ContainerType, GridTypes>&) const [with ContainerType = gftools::container<double, 1ul>; GridTypes = {gftools::real_grid}; gftools::grid_object<typename ContainerType::value_type, GridTypes ...> = gftools::grid_object_base<gftools::container<double, 1ul>, gftools::real_grid>; typename ContainerType::value_type = double]'
/Users/user/UMICH/software/gftools/example/example01.cpp:72:30: required from here
/Users/user/UMICH/software/gftools/./gftools/grid_object.hxx:61:20: error: use of deleted function 'gftools::container<double, 1ul>::container(const gftools::container<double, 1ul>&)'
tail_(rhs.tail_)
^
In file included from /Users/user/UMICH/software/gftools/example/example01.cpp:10:0:
/Users/user/UMICH/software/gftools/./gftools/container.hpp:244:8: note: 'gftools::container<double, 1ul>::container(const gftools::container<double, 1ul>&)' is implicitly declared as deleted because 'gftools::container<double, 1ul>' declares a move constructor or move assignment operator
struct container : container_base<ValueType,N,typename boost::multi_array<ValueType, N>> {
^
My GCC version
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin14/4.8.5/lto-wrapper
Target: x86_64-apple-darwin14
Configured with: /opt/local/var/macports/build/_opt_mports_dports_lang_gcc48/gcc48/work/gcc-4.8.5/configure --prefix=/opt/local --build=x86_64-apple-darwin14 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc48 --includedir=/opt/local/include/gcc48 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.8 --with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --disable-isl-version-check --with-cloog=/opt/local --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts gcc48 4.8.5_0'
Thread model: posix
gcc version 4.8.5 (MacPorts gcc48 4.8.5_0)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.