Bi-monthly release with minor bug fixes and improvements
Please Log in or Create an account to join the conversation.
oleh@oleh:~/indi_gphoto_ng$ mkdir build
oleh@oleh:~/indi_gphoto_ng$ cd build
oleh@oleh:~/indi_gphoto_ng/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'libindi'
-- Found libindi, version 1.2.0
-- Found INDI: /usr/include/libindi (found version "1.2.0")
-- Found INDI: /usr/lib/libindi.so
-- Found GPHOTO2: /usr/local/lib/libgphoto2.so
-- Found CImg: /usr/include
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_MAIN_LIBRARY)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/oleh/indi_gphoto_ng/build
oleh@oleh:~/indi_gphoto_ng/build$ make all
Scanning dependencies of target gphoto_utils
[ 2%] Building CXX object libgphoto-cpp/src/utils/CMakeFiles/gphoto_utils.dir/logger.cpp.o
[ 5%] Building CXX object libgphoto-cpp/src/utils/CMakeFiles/gphoto_utils.dir/read_image.cpp.o
[ 7%] Building CXX object libgphoto-cpp/src/utils/CMakeFiles/gphoto_utils.dir/read_raw_image.cpp.o
[ 10%] Building CXX object libgphoto-cpp/src/utils/CMakeFiles/gphoto_utils.dir/read_jpeg_image.cpp.o
/home/oleh/indi_gphoto_ng/libgphoto-cpp/src/utils/read_jpeg_image.cpp: In member function ‘GPhotoCPP::ReadImage::Image GPhotoCPP::ReadJPEGImage::Private::read_from(GPhotoCPP::ReadJPEGImage::Private::LoadImage, const string&)’:
/home/oleh/indi_gphoto_ng/libgphoto-cpp/src/utils/read_jpeg_image.cpp:77:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<channels.size(); i++) {
^
[ 10%] Built target gphoto_utils
Scanning dependencies of target gphoto_widgets
[ 13%] Building CXX object libgphoto-cpp/src/widgets/CMakeFiles/gphoto_widgets.dir/widget_range.cpp.o
[ 15%] Building CXX object libgphoto-cpp/src/widgets/CMakeFiles/gphoto_widgets.dir/widget_string.cpp.o
/home/oleh/indi_gphoto_ng/libgphoto-cpp/src/widgets/widget_string.cpp: In lambda function:
/home/oleh/indi_gphoto_ng/libgphoto-cpp/src/widgets/widget_string.cpp:26:17: warning: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
return s.c_str();
^
[ 18%] Building CXX object libgphoto-cpp/src/widgets/CMakeFiles/gphoto_widgets.dir/widget_menu.cpp.o
[ 21%] Building CXX object libgphoto-cpp/src/widgets/CMakeFiles/gphoto_widgets.dir/widget_date.cpp.o
[ 23%] Building CXX object libgphoto-cpp/src/widgets/CMakeFiles/gphoto_widgets.dir/widget_toggle.cpp.o
[ 26%] Building CXX object libgphoto-cpp/src/widgets/CMakeFiles/gphoto_widgets.dir/widget.cpp.o
[ 26%] Built target gphoto_widgets
Scanning dependencies of target gphoto_backend
[ 28%] Building CXX object libgphoto-cpp/src/backend/CMakeFiles/gphoto_backend.dir/gphoto_wrapper.cpp.o
[ 31%] Building CXX object libgphoto-cpp/src/backend/CMakeFiles/gphoto_backend.dir/exceptions.cpp.o
[ 34%] Building CXX object libgphoto-cpp/src/backend/CMakeFiles/gphoto_backend.dir/list.cpp.o
[ 34%] Built target gphoto_backend
Scanning dependencies of target gphoto++
[ 36%] Building CXX object libgphoto-cpp/src/CMakeFiles/gphoto++.dir/camerafile.cpp.o
[ 39%] Building CXX object libgphoto-cpp/src/CMakeFiles/gphoto++.dir/driver.cpp.o
[ 42%] Building CXX object libgphoto-cpp/src/CMakeFiles/gphoto++.dir/camera.cpp.o
[ 44%] Building CXX object libgphoto-cpp/src/CMakeFiles/gphoto++.dir/camera_settings.cpp.o
[ 47%] Building CXX object libgphoto-cpp/src/CMakeFiles/gphoto++.dir/camera_control.cpp.o
[ 50%] Building CXX object libgphoto-cpp/src/CMakeFiles/gphoto++.dir/camera_filesystem.cpp.o
[ 52%] Building CXX object libgphoto-cpp/src/CMakeFiles/gphoto++.dir/serialshooter.cpp.o
[ 55%] Building CXX object libgphoto-cpp/src/CMakeFiles/gphoto++.dir/exposure.cpp.o
[ 57%] Linking CXX static library libgphoto++.a
[ 57%] Built target gphoto++
Scanning dependencies of target indi_properties
[ 60%] Building CXX object INDIProperties/src/CMakeFiles/indi_properties.dir/switch.cpp.o
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.cpp: In member function ‘void INDI::Properties::Switch::send(const string&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.cpp:67:85: warning: format not a string literal and no format arguments [-Wformat-security]
etSwitch(&main.m_vector_property, message.empty() ? nullptr : message.c_str());
^
[ 63%] Building CXX object INDIProperties/src/CMakeFiles/indi_properties.dir/number.cpp.o
/home/oleh/indi_gphoto_ng/INDIProperties/src/number.cpp: In member function ‘void INDI::Properties::Number::send(const string&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/number.cpp:45:85: warning: format not a string literal and no format arguments [-Wformat-security]
etNumber(&main.m_vector_property, message.empty() ? nullptr : message.c_str());
^
[ 65%] Building CXX object INDIProperties/src/CMakeFiles/indi_properties.dir/text.cpp.o
/home/oleh/indi_gphoto_ng/INDIProperties/src/text.cpp: In member function ‘void INDI::Properties::Text::send(const string&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/text.cpp:46:83: warning: format not a string literal and no format arguments [-Wformat-security]
DSetText(&main.m_vector_property, message.empty() ? nullptr : message.c_str());
^
[ 68%] Building CXX object INDIProperties/src/CMakeFiles/indi_properties.dir/blob.cpp.o
/home/oleh/indi_gphoto_ng/INDIProperties/src/blob.cpp: In member function ‘void INDI::Properties::Blob::send(const string&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/blob.cpp:45:83: warning: format not a string literal and no format arguments [-Wformat-security]
DSetBLOB(&main.m_vector_property, message.empty() ? nullptr : message.c_str());
^
[ 71%] Building CXX object INDIProperties/src/CMakeFiles/indi_properties.dir/light.cpp.o
/home/oleh/indi_gphoto_ng/INDIProperties/src/light.cpp: In member function ‘void INDI::Properties::Light::send(const string&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/light.cpp:45:84: warning: format not a string literal and no format arguments [-Wformat-security]
SetLight(&main.m_vector_property, message.empty() ? message.c_str() : nullptr);
^
[ 73%] Linking CXX static library libindi_properties.a
[ 73%] Built target indi_properties
Scanning dependencies of target indi_gphoto_ng_ccd
[ 76%] Building CXX object CMakeFiles/indi_gphoto_ng_ccd.dir/gphoto_ccd.cpp.o
In file included from /usr/include/c++/5/unordered_map:35:0,
from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:23,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
^
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:27:0,
from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:26,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/optional.h:34:17: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
bool is_set = false;
^
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:26:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘C& GuLinux::container_accumulate<C>::operator()(C&, const C&) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:35:15: error: ‘begin’ is not a member of ‘std’
std::copy(std::begin(source), std::end(source), std::inserter(dest, std::en
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:35:35: error: ‘end’ is not a member of ‘std’
std::copy(std::begin(source), std::end(source), std::inserter(dest, std::en
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:35:73: error: ‘end’ is not a member of ‘std’
std::copy(std::begin(source), std::end(source), std::inserter(dest, std::end(de
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: At global scope:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:52:21: error: expected ‘)’ before ‘{’ token
typedef decltype(C{}.begin()) it_type;
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:52:21: error: ISO C++ forbids declaration of ‘decltype’ with no type [-fpermissive]
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:52:21: error: invalid member function declaration
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:52:23: error: expected unqualified-id before ‘.’ token
typedef decltype(C{}.begin()) it_type;
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:55:13: error: expected ‘,’ or ‘...’ before ‘&&’ token
cstream(C &&c) : __moved{c}, _container_ref{__moved} {}
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:57:5: error: expected unqualified-id before ‘&&’ token
C &&get_move() { return std::move(_container_ref); }
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:59:3: error: ‘operator C’ does not name a type
operator C&&() { return get_move(); }
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:62:58: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
template<typename BinaryFunction = std::less<value_type>> cstream<C> &sorted(
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:62:72: error: two or more data types in declaration of ‘type name’
emplate<typename BinaryFunction = std::less<value_type>> cstream<C> &sorted(con
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:62:73: error: expected ‘>’ before ‘sorted’
mplate<typename BinaryFunction = std::less<value_type>> cstream<C> &sorted(cons
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:62:107: error: expected unqualified-id before ‘{’ token
on = std::less<value_type>> cstream<C> &sorted(const BinaryFunction &op = {}) {
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:62:109: error: expected unqualified-id before ‘)’ token
on = std::less<value_type>> cstream<C> &sorted(const BinaryFunction &op = {}) {
^
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:26:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:111:57: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
template<typename UnaryFunction = std::plus<value_type>> value_type accumulat
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:111:71: error: two or more data types in declaration of ‘type name’
template<typename UnaryFunction = std::plus<value_type>> value_type accumulate(
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:111:71: error: expected ‘>’ before ‘accumulate’
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:111:103: error: expected unqualified-id before ‘{’ token
= std::plus<value_type>> value_type accumulate(value_type initial = {}, UnaryFu
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:111:105: error: expected unqualified-id before ‘,’ token
std::plus<value_type>> value_type accumulate(value_type initial = {}, UnaryFunc
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:111:128: error: expected unqualified-id before ‘)’ token
> value_type accumulate(value_type initial = {}, UnaryFunction op = {}) const {
^
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:26:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In constructor ‘GuLinux::cstream<C>::cstream(C&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:54:33: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
cstream(C &c) : _container_ref{c} {}
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In constructor ‘GuLinux::cstream<C>::cstream(C)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:55:27: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
cstream(C &&c) : __moved{c}, _container_ref{__moved} {}
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:55:28: error: ‘c’ was not declared in this scope
cstream(C &&c) : __moved{c}, _container_ref{__moved} {}
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:55:46: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
cstream(C &&c) : __moved{c}, _container_ref{__moved} {}
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::cstream<T> GuLinux::cstream<C>::transform(UnaryFunction) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:69:20: error: ‘begin’ is not a member of ‘std’
std::transform(std::begin(_container_ref), std::end(_container_ref), std::i
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:69:48: error: ‘end’ is not a member of ‘std’
std::transform(std::begin(_container_ref), std::end(_container_ref), std::i
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:69:94: error: ‘end’ is not a member of ‘std’
egin(_container_ref), std::end(_container_ref), std::inserter(dest, std::end(de
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:70:12: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
return {std::move(dest)};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:70:13: error: ‘move’ is not a member of ‘std’
return {std::move(dest)};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::cstream<C>& GuLinux::cstream<C>::remove(UnaryFunction)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:74:41: error: ‘begin’ is not a member of ‘std’
_container_ref.erase(std::remove_if(std::begin(_container_ref), std::end(_c
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:74:69: error: ‘end’ is not a member of ‘std’
_container_ref.erase(std::remove_if(std::begin(_container_ref), std::end(_c
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:74:106: error: ‘end’ is not a member of ‘std’
if(std::begin(_container_ref), std::end(_container_ref), remove_f), std::end(_c
^
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:26:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::cstream<C>& GuLinux::cstream<C>::remove_ms(UnaryFunction)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:79:15: error: ‘it_type’ was not declared in this scope
std::list<it_type> to_remove;
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:79:22: error: template argument 1 is invalid
std::list<it_type> to_remove;
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:79:22: error: template argument 2 is invalid
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:80:14: error: ‘it’ does not name a type
for(auto it = _container_ref.begin(); it != _container_ref.end(); ++it) {
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:80:43: error: expected ‘;’ before ‘it’
for(auto it = _container_ref.begin(); it != _container_ref.end(); ++it) {
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:80:43: error: ‘it’ was not declared in this scope
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:82:12: error: request for member ‘push_back’ in ‘to_remove’, which is of non-class type ‘int’
to_remove.push_back(it);
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:84:14: error: ‘it’ does not name a type
for(auto it: to_remove)
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:86:5: error: expected ‘;’ before ‘return’
return *this;
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:86:5: error: expected primary-expression before ‘return’
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:86:5: error: expected ‘;’ before ‘return’
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:86:5: error: expected primary-expression before ‘return’
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:86:5: error: expected ‘)’ before ‘return’
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::cstream<C>& GuLinux::cstream<C>::filter(UnaryFunction)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:97:66: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
return remove([&](const value_type &v) { return ! filter(v); });
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::cstream<C> GuLinux::cstream<C>::cp_filter(UnaryFunction)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:102:5: error: ‘copy_if’ is not a member of ‘std’
std::copy_if(std::begin(_container_ref), std::end(_container_ref), std::ins
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:102:18: error: ‘begin’ is not a member of ‘std’
std::copy_if(std::begin(_container_ref), std::end(_container_ref), std::ins
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:102:46: error: ‘end’ is not a member of ‘std’
std::copy_if(std::begin(_container_ref), std::end(_container_ref), std::ins
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:102:89: error: ‘end’ is not a member of ‘std’
::begin(_container_ref), std::end(_container_ref), std::inserter(c, std::end(c)
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:103:23: error: ‘move’ is not a member of ‘std’
return cstream<C>(std::move(c));
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::cstream<C>& GuLinux::cstream<C>::filter_ms(UnaryFunction)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:107:69: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
return remove_ms([&](const value_type &v) { return ! filter(v); });
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::cstream<C>& GuLinux::cstream<C>::for_each(UnaryFunction)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:116:19: error: ‘begin’ is not a member of ‘std’
std::for_each(std::begin(_container_ref), std::end(_container_ref), f);
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:116:47: error: ‘end’ is not a member of ‘std’
std::for_each(std::begin(_container_ref), std::end(_container_ref), f);
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘bool GuLinux::cstream<C>::all(UnaryFunction) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:121:12: error: ‘all_of’ is not a member of ‘std’
return std::all_of(std::begin(_container_ref), std::end(_container_ref), f)
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:121:24: error: ‘begin’ is not a member of ‘std’
return std::all_of(std::begin(_container_ref), std::end(_container_ref), f)
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:121:52: error: ‘end’ is not a member of ‘std’
return std::all_of(std::begin(_container_ref), std::end(_container_ref), f)
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘bool GuLinux::cstream<C>::any(UnaryFunction) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:124:12: error: ‘any_of’ is not a member of ‘std’
return std::any_of(std::begin(_container_ref), std::end(_container_ref), f)
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:124:24: error: ‘begin’ is not a member of ‘std’
return std::any_of(std::begin(_container_ref), std::end(_container_ref), f)
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:124:52: error: ‘end’ is not a member of ‘std’
return std::any_of(std::begin(_container_ref), std::end(_container_ref), f)
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘bool GuLinux::cstream<C>::none(UnaryFunction) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:127:12: error: ‘none_of’ is not a member of ‘std’
return std::none_of(std::begin(_container_ref), std::end(_container_ref), f
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:127:25: error: ‘begin’ is not a member of ‘std’
return std::none_of(std::begin(_container_ref), std::end(_container_ref), f
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:127:53: error: ‘end’ is not a member of ‘std’
return std::none_of(std::begin(_container_ref), std::end(_container_ref), f
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::cstream<C> GuLinux::cstream<C>::copy() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:132:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
return cstream<C>{std::move(c)};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:132:23: error: ‘move’ is not a member of ‘std’
return cstream<C>{std::move(c)};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘std::size_t GuLinux::cstream<C>::count(UnaryFunction) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:140:26: error: ‘begin’ is not a member of ‘std’
return std::count_if(std::begin(_container_ref), std::end(_container_ref),
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:140:54: error: ‘end’ is not a member of ‘std’
return std::count_if(std::begin(_container_ref), std::end(_container_ref),
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘std::size_t GuLinux::cstream<C>::count(const value_type&) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:143:23: error: ‘begin’ is not a member of ‘std’
return std::count(std::begin(_container_ref), std::end(_container_ref), v);
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:143:51: error: ‘end’ is not a member of ‘std’
return std::count(std::begin(_container_ref), std::end(_container_ref), v);
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘bool GuLinux::cstream<C>::contains(const value_type&) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:147:61: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
return any([&](const value_type &v){ return value == v; });
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::cstream<C>::value_type GuLinux::cstream<C>::min() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:152:30: error: ‘begin’ is not a member of ‘std’
return *std::min_element(std::begin(_container_ref), std::end(_container_re
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:152:58: error: ‘end’ is not a member of ‘std’
return *std::min_element(std::begin(_container_ref), std::end(_container_re
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::cstream<C>::value_type GuLinux::cstream<C>::max() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:156:30: error: ‘begin’ is not a member of ‘std’
return *std::max_element(std::begin(_container_ref), std::end(_container_re
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:156:58: error: ‘end’ is not a member of ‘std’
return *std::max_element(std::begin(_container_ref), std::end(_container_re
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘double GuLinux::cstream<C>::mean() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:160:43: error: there are no arguments to ‘accumulate’ that depend on a template parameter, so a declaration of ‘accumulate’ must be available [-fpermissive]
return static_cast<double>(accumulate()) / static_cast<double>(size());
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:160:43: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::optional<typename C::value_type> GuLinux::cstream<C>::first() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:164:8: error: ‘begin’ is not a member of ‘std’
if(std::begin(_container_ref) == std::end(_container_ref) )
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:164:38: error: ‘end’ is not a member of ‘std’
if(std::begin(_container_ref) == std::end(_container_ref) )
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:165:14: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
return {};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:166:12: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
return { *std::begin(_container_ref) };
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:166:15: error: ‘begin’ is not a member of ‘std’
return { *std::begin(_container_ref) };
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In member function ‘GuLinux::optional<typename C::value_type> GuLinux::cstream<C>::first(UnaryFunction) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:171:10: error: ‘it’ does not name a type
auto it = std::find_if( std::begin(_container_ref), std::end(_container_ref
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:172:8: error: ‘it’ was not declared in this scope
if(it == std::end(_container_ref))
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:172:14: error: ‘end’ is not a member of ‘std’
if(it == std::end(_container_ref))
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:173:14: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
return {};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:174:12: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
return { *it };
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:174:15: error: ‘it’ was not declared in this scope
return { *it };
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: At global scope:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:183:48: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
template<typename C, typename Add = std::plus<C>> struct join_accumulate {
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:183:74: error: definition of ‘struct GuLinux::join_accumulate’ inside template parameter list
template<typename C, typename Add = std::plus<C>> struct join_accumulate {
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:189:1: error: two or more data types in declaration of ‘type name’
};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:189:2: error: expected ‘>’ before ‘;’ token
};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:189:2: error: expected unqualified-id before ‘;’ token
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In function ‘GuLinux::cstream<T> GuLinux::make_stream(T&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:198:20: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
return cstream<T>{t};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: At global scope:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:200:47: error: expected ‘,’ or ‘...’ before ‘&&’ token
template<typename T> cstream<T> make_stream(T &&t) {
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In function ‘GuLinux::cstream<T> GuLinux::make_stream(T)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:201:20: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
return cstream<T>{std::forward<T>(t)};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:201:21: error: ‘forward’ is not a member of ‘std’
return cstream<T>{std::forward<T>(t)};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:201:37: error: ‘t’ was not declared in this scope
return cstream<T>{std::forward<T>(t)};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:201:20: error: expected primary-expression before ‘{’ token
return cstream<T>{std::forward<T>(t)};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:201:20: error: expected ‘;’ before ‘{’ token
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:201:21: error: ‘forward’ is not a member of ‘std’
return cstream<T>{std::forward<T>(t)};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:201:35: error: expected primary-expression before ‘>’ token
return cstream<T>{std::forward<T>(t)};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In function ‘GuLinux::cstream<T> GuLinux::make_stream_copy(const T&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:204:20: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
return cstream<T>{T{t}};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:204:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
return cstream<T>{T{t}};
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: At global scope:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:206:59: error: ‘>>’ should be ‘> >’ within a nested template argument list
template<typename N, typename T = N> cstream<std::vector<N>> cpstream(T *t, std
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:206:93: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11
e N, typename T = N> cstream<std::vector<N>> cpstream(T *t, std::size_t size) {
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h: In function ‘GuLinux::cstream<std::vector<N> > GuLinux::cpstream(T*, std::size_t)’:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:208:3: error: ‘copy_n’ is not a member of ‘std’
std::copy_n(t, size, data.begin());
^
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/containers_streams.h:209:22: error: ‘move’ is not a member of ‘std’
return make_stream(std::move(data));
^
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:26:0,
from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h: At global scope:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:38:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
Identity(const std::string &device = {}, const std::string &name = {},
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:38:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:38:73: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
Identity(const std::string &device = {}, const std::string &name = {},
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:38:73: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:39:42: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
const std::string &label = {}, const std::string &group = {},
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:39:42: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:39:73: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
const std::string &label = {}, const std::string &group = {},
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:39:73: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h: In constructor ‘INDI::Properties::Identity::Identity(const string&, const string&, const string&, const string&, IPerm, IPState, double)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:41:18: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: device {device}, name {name}, label {label}, group {group}, permissio
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:41:33: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: device {device}, name {name}, label {label}, group {group}, permissio
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:41:47: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: device {device}, name {name}, label {label}, group {group}, permissio
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:41:62: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: device {device}, name {name}, label {label}, group {group}, permissio
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:41:83: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
ce {device}, name {name}, label {label}, group {group}, permissions {permission
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:41:104: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
me}, label {label}, group {group}, permissions {permissions}, state {state}, ti
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:41:121: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
}, group {group}, permissions {permissions}, state {state}, timeout {timeout} {
^
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:26:0,
from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h: At global scope:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:50:18: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
typedef std::shared_ptr<Property<T>> ptr;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:51:23: warning: variadic templates only available with -std=c++11 or -std=gnu++11
template<typename ... Args>
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:52:82: warning: variadic templates only available with -std=c++11 or -std=gnu++11
perty(INDI::DefaultDevice *device, const Identity &base_options, Args ... args)
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:83:23: warning: variadic templates only available with -std=c++11 or -std=gnu++11
template<typename ... Args> Property<T> &add(Args ... args) {
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:83:59: warning: variadic templates only available with -std=c++11 or -std=gnu++11
template<typename ... Args> Property<T> &add(Args ... args) {
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:91:23: warning: variadic templates only available with -std=c++11 or -std=gnu++11
template<typename ... Args>
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:92:83: warning: variadic templates only available with -std=c++11 or -std=gnu++11
pdate(const std::string &device, const std::string &name, const Args... args) {
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:122:37: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
INDI::DefaultDevice *m_device = nullptr;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:122:37: error: ‘nullptr’ was not declared in this scope
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h: In constructor ‘INDI::Properties::Property<T>::Property(INDI::DefaultDevice*, const INDI::Properties::Identity&, Args ...)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:53:20: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: m_device {device}, m_property_wrapper {*this, args...}, m_base_option
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:53:49: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: m_device {device}, m_property_wrapper {*this, args...}, m_base_option
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:53:82: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
evice {device}, m_property_wrapper {*this, args...}, m_base_options {base_optio
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h: In member function ‘GuLinux::optional<typename T::single_property> INDI::Properties::Property<T>::find(const string&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_property.h:110:9: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
});
^
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:27:0,
from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.h: At global scope:
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.h:35:16: error: ‘tuple’ in namespace ‘std’ does not name a template type
typedef std::tuple<vtype, std::string> UpdateArgs;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.h:36:16: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<bool(std::vector<UpdateArgs>)> OnUpdate;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.h:37:24: error: ‘UpdateArgs’ does not name a type
static bool On(const UpdateArgs &update_args);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.h:39:47: error: ‘OnUpdate’ has not been declared
Switch(Property<Switch> &main, ISRule rule, OnUpdate on_update);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.h:47:16: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void(const Entry &)> RunOnSwitch;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.h:49:24: error: ‘RunOnSwitch’ has not been declared
void first_on_switch(RunOnSwitch run_on_switch);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.h:50:20: error: ‘RunOnSwitch’ has not been declared
void on_switches(RunOnSwitch run_on_switches);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.h:57:3: error: ‘OnUpdate’ does not name a type
OnUpdate on_update;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.h:44:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
void send(const std::string &message = {});
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/switch.h:44:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:28:0,
from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/number.h:36:16: error: ‘tuple’ in namespace ‘std’ does not name a template type
typedef std::tuple<vtype, std::string> UpdateArgs;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/number.h:37:16: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<bool(std::vector<UpdateArgs>)> OnUpdate;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/number.h:38:34: error: ‘OnUpdate’ has not been declared
Number(Property<Number> &main, OnUpdate on_update);
^
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:28:0,
from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/number.h:47:3: error: ‘OnUpdate’ does not name a type
OnUpdate on_update;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/number.h:43:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
void send(const std::string &message = {});
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/number.h:43:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:29:0,
from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/text.h:36:16: error: ‘tuple’ in namespace ‘std’ does not name a template type
typedef std::tuple<vtype, std::string> UpdateArgs;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/text.h:37:16: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<bool(std::vector<UpdateArgs>)> OnUpdate;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/text.h:38:30: error: ‘OnUpdate’ has not been declared
Text(Property<Text> &main, OnUpdate on_update);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/text.h:47:3: error: ‘OnUpdate’ does not name a type
OnUpdate on_update;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/text.h:43:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
void send(const std::string &message = {});
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/text.h:43:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:30:0,
from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/blob.h:35:16: error: ‘tuple’ in namespace ‘std’ does not name a template type
typedef std::tuple<int, int, char*, std::string, std::string> UpdateArgs;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/blob.h:36:16: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<bool(std::vector<UpdateArgs>)> OnUpdate;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/blob.h:37:30: error: ‘OnUpdate’ has not been declared
Blob(Property<Blob> &main, OnUpdate on_update);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/blob.h:46:3: error: ‘OnUpdate’ does not name a type
OnUpdate on_update;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/blob.h:42:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
void send(const std::string &message = {});
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/blob.h:42:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:31:0,
from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/light.h:41:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
void send(const std::string &message = {});
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/light.h:41:43: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:39:122: error: ‘INDI::Properties::Switch::OnUpdate’ has not been declared
efaultDevice *device, const Identity &options, ISRule rule, Switch::OnUpdate on
^
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:42:109: error: ‘INDI::Properties::Number::OnUpdate’ has not been declared
_type &key, DefaultDevice *device, const Identity &options, Number::OnUpdate on
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:45:103: error: ‘INDI::Properties::Text::OnUpdate’ has not been declared
ey_type &key, DefaultDevice *device, const Identity &options, Text::OnUpdate on
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:48:103: error: ‘INDI::Properties::Blob::OnUpdate’ has not been declared
ey_type &key, DefaultDevice *device, const Identity &options, Blob::OnUpdate on
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:91:8: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
std::unordered_map<key_type, Property<Switch>::ptr> &switches() { return m_sw
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:92:8: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
std::unordered_map<key_type, Property<Number>::ptr> &numbers() { return m_num
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:93:8: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
std::unordered_map<key_type, Property<Text>::ptr> &texts() { return m_texts;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:94:8: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
std::unordered_map<key_type, Property<Light>::ptr> &lights() { return m_light
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:119:8: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
std::unordered_map<key_type, Property<Switch>::ptr> m_switches;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:120:8: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
std::unordered_map<key_type, Property<Number>::ptr> m_numbers;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:121:8: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
std::unordered_map<key_type, Property<Text>::ptr> m_texts;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:122:8: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
std::unordered_map<key_type, Property<Blob>::ptr> m_blobs;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:123:8: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
std::unordered_map<key_type, Property<Light>::ptr> m_lights;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘INDI::Properties::Property<INDI::Properties::Switch>& INDI::Properties::Properties<key_type>::add_switch(const key_type&, INDI::DefaultDevice*, const INDI::Properties::Identity&, ISRule, int)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:40:14: error: ‘m_switches’ was not declared in this scope
return *(m_switches[key] = std::make_shared<Property<Switch>>(device, optio
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:40:32: error: ‘make_shared’ is not a member of ‘std’
return *(m_switches[key] = std::make_shared<Property<Switch>>(device, optio
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:40:64: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
return *(m_switches[key] = std::make_shared<Property<Switch>>(device, optio
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘INDI::Properties::Property<INDI::Properties::Number>& INDI::Properties::Properties<key_type>::add_number(const key_type&, INDI::DefaultDevice*, const INDI::Properties::Identity&, int)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:43:14: error: ‘m_numbers’ was not declared in this scope
return *(m_numbers[key] = std::make_shared<Property<Number>>(device, option
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:43:31: error: ‘make_shared’ is not a member of ‘std’
return *(m_numbers[key] = std::make_shared<Property<Number>>(device, option
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:43:63: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
return *(m_numbers[key] = std::make_shared<Property<Number>>(device, option
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘INDI::Properties::Property<INDI::Properties::Text>& INDI::Properties::Properties<key_type>::add_text(const key_type&, INDI::DefaultDevice*, const INDI::Properties::Identity&, int)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:46:14: error: ‘m_texts’ was not declared in this scope
return *(m_texts[key] = std::make_shared<Property<Text>>(device, options, o
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:46:29: error: ‘make_shared’ is not a member of ‘std’
return *(m_texts[key] = std::make_shared<Property<Text>>(device, options, o
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:46:59: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
return *(m_texts[key] = std::make_shared<Property<Text>>(device, options, o
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘INDI::Properties::Property<INDI::Properties::Text>& INDI::Properties::Properties<key_type>::add_blob(const key_type&, INDI::DefaultDevice*, const INDI::Properties::Identity&, int)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:49:14: error: ‘m_blobs’ was not declared in this scope
return *(m_blobs[key] = std::make_shared<Property<Blob>>(device, options, o
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:49:29: error: ‘make_shared’ is not a member of ‘std’
return *(m_blobs[key] = std::make_shared<Property<Blob>>(device, options, o
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:49:59: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
return *(m_blobs[key] = std::make_shared<Property<Blob>>(device, options, o
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘INDI::Properties::Property<INDI::Properties::Text>& INDI::Properties::Properties<key_type>::add_light(const key_type&, INDI::DefaultDevice*, const INDI::Properties::Identity&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:52:14: error: ‘m_lights’ was not declared in this scope
return *(m_lights[key] = std::make_shared<Property<Light>>(device, options)
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:52:30: error: ‘make_shared’ is not a member of ‘std’
return *(m_lights[key] = std::make_shared<Property<Light>>(device, options)
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:52:61: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
return *(m_lights[key] = std::make_shared<Property<Light>>(device, options)
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘void INDI::Properties::Properties<key_type>::remove(const key_type&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:56:5: error: ‘m_switches’ was not declared in this scope
m_switches.erase(key);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:57:5: error: ‘m_numbers’ was not declared in this scope
m_numbers.erase(key);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:58:5: error: ‘m_texts’ was not declared in this scope
m_texts.erase(key);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:59:5: error: ‘m_blobs’ was not declared in this scope
m_blobs.erase(key);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:60:5: error: ‘m_lights’ was not declared in this scope
m_lights.erase(key);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘void INDI::Properties::Properties<key_type>::clear()’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:64:5: error: ‘m_switches’ was not declared in this scope
m_switches.clear();
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:65:5: error: ‘m_numbers’ was not declared in this scope
m_numbers.clear();
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:66:5: error: ‘m_texts’ was not declared in this scope
m_texts.clear();
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:67:5: error: ‘m_blobs’ was not declared in this scope
m_blobs.clear();
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:68:5: error: ‘m_lights’ was not declared in this scope
m_lights.clear();
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘INDI::Properties::Property<INDI::Properties::Switch>& INDI::Properties::Properties<key_type>::switch_p(const key_type&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:72:61: error: ‘m_switches’ was not declared in this scope
Property<Switch> &switch_p(const key_type &key) { return *m_switches[key]; }
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘INDI::Properties::Property<INDI::Properties::Number>& INDI::Properties::Properties<key_type>::number(const key_type&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:73:59: error: ‘m_numbers’ was not declared in this scope
Property<Number> &number(const key_type &key) { return *m_numbers[key]; }
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘INDI::Properties::Property<INDI::Properties::Text>& INDI::Properties::Properties<key_type>::text(const key_type&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:74:55: error: ‘m_texts’ was not declared in this scope
Property<Text> &text(const key_type &key) { return *m_texts[key]; }
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘INDI::Properties::Property<INDI::Properties::Blob>& INDI::Properties::Properties<key_type>::blob(const key_type&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:75:55: error: ‘m_blobs’ was not declared in this scope
Property<Blob> &blob(const key_type &key) { return *m_blobs[key]; }
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘INDI::Properties::Property<INDI::Properties::Blob>& INDI::Properties::Properties<key_type>::light(const key_type&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:76:56: error: ‘m_lights’ was not declared in this scope
Property<Blob> &light(const key_type &key) { return *m_lights[key]; }
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘bool INDI::Properties::Properties<key_type>::update(const string&, const string&, INDI::Properties::Switch::vtype*, char**, int) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:79:12: error: ‘any_of’ is not a member of ‘std’
return std::any_of(m_switches.begin(), m_switches.end(), [&](const std::pai
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:79:24: error: ‘m_switches’ was not declared in this scope
return std::any_of(m_switches.begin(), m_switches.end(), [&](const std::pai
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:79:92: error: ‘ptr’ is not a member of ‘INDI::Properties::Property<INDI::Properties::Switch>’
m_switches.begin(), m_switches.end(), [&](const std::pair<key_type, Property<Sw
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:79:92: error: ‘ptr’ is not a member of ‘INDI::Properties::Property<INDI::Properties::Switch>’
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:79:113: error: template argument 2 is invalid
_switches.end(), [&](const std::pair<key_type, Property<Switch>::ptr> &p) { ret
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In lambda function:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:79:130: error: request for member ‘second’ in ‘p’, which is of non-class type ‘const int’
[&](const std::pair<key_type, Property<Switch>::ptr> &p) { return p.second->upd
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘bool INDI::Properties::Properties<key_type>::update(const string&, const string&, INDI::Properties::Switch::vtype*, char**, int) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:79:178: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
witch>::ptr> &p) { return p.second->update(device, name, states, names, n); });
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘bool INDI::Properties::Properties<key_type>::update(const string&, const string&, INDI::Properties::Number::vtype*, char**, int) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:82:12: error: ‘any_of’ is not a member of ‘std’
return std::any_of(m_numbers.begin(), m_numbers.end(), [&](const std::pair<
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:82:24: error: ‘m_numbers’ was not declared in this scope
return std::any_of(m_numbers.begin(), m_numbers.end(), [&](const std::pair<
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:82:90: error: ‘ptr’ is not a member of ‘INDI::Properties::Property<INDI::Properties::Number>’
f(m_numbers.begin(), m_numbers.end(), [&](const std::pair<key_type, Property<Nu
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:82:90: error: ‘ptr’ is not a member of ‘INDI::Properties::Property<INDI::Properties::Number>’
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:82:111: error: template argument 2 is invalid
m_numbers.end(), [&](const std::pair<key_type, Property<Number>::ptr> &p) { ret
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In lambda function:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:82:128: error: request for member ‘second’ in ‘p’, which is of non-class type ‘const int’
[&](const std::pair<key_type, Property<Number>::ptr> &p) { return p.second->upd
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘bool INDI::Properties::Properties<key_type>::update(const string&, const string&, INDI::Properties::Number::vtype*, char**, int) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:82:176: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
umber>::ptr> &p) { return p.second->update(device, name, values, names, n); });
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘bool INDI::Properties::Properties<key_type>::update(const string&, const string&, const char**, char**, int) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:85:12: error: ‘any_of’ is not a member of ‘std’
return std::any_of(m_texts.begin(), m_texts.end(), [&](const std::pair<key_
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:85:24: error: ‘m_texts’ was not declared in this scope
return std::any_of(m_texts.begin(), m_texts.end(), [&](const std::pair<key_
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:85:86: error: ‘ptr’ is not a member of ‘INDI::Properties::Property<INDI::Properties::Text>’
ny_of(m_texts.begin(), m_texts.end(), [&](const std::pair<key_type, Property<Te
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:85:86: error: ‘ptr’ is not a member of ‘INDI::Properties::Property<INDI::Properties::Text>’
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:85:105: error: template argument 2 is invalid
(), m_texts.end(), [&](const std::pair<key_type, Property<Text>::ptr> &p) { ret
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In lambda function:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:85:122: error: request for member ‘second’ in ‘p’, which is of non-class type ‘const int’
, [&](const std::pair<key_type, Property<Text>::ptr> &p) { return p.second->upd
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘bool INDI::Properties::Properties<key_type>::update(const string&, const string&, const char**, char**, int) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:85:170: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
<Text>::ptr> &p) { return p.second->update(device, name, values, names, n); });
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘bool INDI::Properties::Properties<key_type>::update(const string&, const string&, int*, int*, char**, char**, char**, int) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:88:12: error: ‘any_of’ is not a member of ‘std’
return std::any_of(m_blobs.begin(), m_blobs.end(), [&](const std::pair<key_
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:88:24: error: ‘m_blobs’ was not declared in this scope
return std::any_of(m_blobs.begin(), m_blobs.end(), [&](const std::pair<key_
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:88:86: error: ‘ptr’ is not a member of ‘INDI::Properties::Property<INDI::Properties::Blob>’
ny_of(m_blobs.begin(), m_blobs.end(), [&](const std::pair<key_type, Property<Bl
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:88:86: error: ‘ptr’ is not a member of ‘INDI::Properties::Property<INDI::Properties::Blob>’
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:88:105: error: template argument 2 is invalid
(), m_blobs.end(), [&](const std::pair<key_type, Property<Blob>::ptr> &p) { ret
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In lambda function:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:88:122: error: request for member ‘second’ in ‘p’, which is of non-class type ‘const int’
, [&](const std::pair<key_type, Property<Blob>::ptr> &p) { return p.second->upd
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘bool INDI::Properties::Properties<key_type>::update(const string&, const string&, int*, int*, char**, char**, char**, int) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:88:196: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
p.second->update(device, name, sizes, blobsizes, blobs, formats, names, n); });
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘void INDI::Properties::Properties<key_type>::register_unregistered_properties()’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:97:18: error: ‘m_switches’ was not declared in this scope
autoregister(m_switches);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:98:18: error: ‘m_numbers’ was not declared in this scope
autoregister(m_numbers);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:99:18: error: ‘m_texts’ was not declared in this scope
autoregister(m_texts);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:100:18: error: ‘m_blobs’ was not declared in this scope
autoregister(m_blobs);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:101:18: error: ‘m_lights’ was not declared in this scope
autoregister(m_lights);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘void INDI::Properties::Properties<key_type>::save_config(FILE*) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:105:20: error: ‘m_switches’ was not declared in this scope
save_config_to(m_switches, fp);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:106:20: error: ‘m_numbers’ was not declared in this scope
save_config_to(m_numbers, fp);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:107:20: error: ‘m_texts’ was not declared in this scope
save_config_to(m_texts, fp);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:108:20: error: ‘m_blobs’ was not declared in this scope
save_config_to(m_blobs, fp);
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘void INDI::Properties::Properties<key_type>::autoregister(T&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:114:103: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
_filter([](const P &p){ return !p.second->is_property_registered(); }).for_each
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:114:156: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
property_registered(); }).for_each([](const P &p){ p.second->do_register(); });
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h: In member function ‘void INDI::Properties::Properties<key_type>::save_config_to(const T&, FILE*) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:117:131: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
ir<key_type, typename T::mapped_type> &p){ p.second->get().save_config(fp); });
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h: At global scope:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:35:54: error: ‘>>’ should be ‘> >’ within a nested template argument list
typedef std::pair<key_type, Properties<sub_key_type>> each;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:39:21: warning: variadic templates only available with -std=c++11 or -std=gnu++11
template<typename ...Args>
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:40:75: warning: variadic templates only available with -std=c++11 or -std=gnu++11
bool update(const std::string &device, const std::string &name, Args ...args) {
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:48:8: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
std::unordered_map<key_type, Properties<sub_key_type>> m_map;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h: In member function ‘INDI::Properties::Properties<sub_key_type>& INDI::Properties::PropertiesMap<key_type, sub_key_type>::operator[](const key_type&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:36:70: error: ‘m_map’ was not declared in this scope
Properties<sub_key_type> &operator[](const key_type &key) { return m_map[key];
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h: In member function ‘void INDI::Properties::PropertiesMap<key_type, sub_key_type>::clear()’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:37:28: error: ISO C++ forbids declaration of ‘e’ with no type [-fpermissive]
void clear() { for(auto &e: m_map) e.second.clear(); }
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:37:31: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
void clear() { for(auto &e: m_map) e.second.clear(); }
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:37:31: error: ‘m_map’ was not declared in this scope
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:37:40: error: request for member ‘second’ in ‘e’, which is of non-class type ‘int’
void clear() { for(auto &e: m_map) e.second.clear(); }
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h: In member function ‘void INDI::Properties::PropertiesMap<key_type, sub_key_type>::clear(const key_type&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:38:37: error: ‘m_map’ was not declared in this scope
void clear(const key_type &key) { m_map[key].clear(); }
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h: In member function ‘bool INDI::Properties::PropertiesMap<key_type, sub_key_type>::update(const string&, const string&, Args ...)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:41:33: error: ‘m_map’ was not declared in this scope
return GuLinux::make_stream(m_map).any([&](const each &e) { return e.second
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:41:112: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
ap).any([&](const each &e) { return e.second.update(device, name, args...); });
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h: In member function ‘void INDI::Properties::PropertiesMap<key_type, sub_key_type>::save_config(FILE*) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:45:26: error: ‘m_map’ was not declared in this scope
GuLinux::make_stream(m_map).for_each([&](const each &e) { return e.second.s
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:45:96: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
tream(m_map).for_each([&](const each &e) { return e.second.save_config(fp); });
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: At global scope:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:37:13: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
Log() = delete;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:38:24: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
Log(const Log &) = delete;
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:40:13: error: expected ‘,’ or ‘...’ before ‘&&’ token
Log(Log &&other) : device_name{std::move(other.device_name)}, level{std::mo
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:40:20: error: invalid constructor; you probably meant ‘INDI::Utils::Logger::Log (const INDI::Utils::Logger::Log&)’
Log(Log &&other) : device_name{std::move(other.device_name)}, level{std::mo
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:40:65: error: expected unqualified-id before ‘,’ token
Log(Log &&other) : device_name{std::move(other.device_name)}, level{std::mo
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:40:96: error: expected unqualified-id before ‘,’ token
ce_name{std::move(other.device_name)}, level{std::move(other.level)}, message{s
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:40:132: error: expected unqualified-id before ‘{’ token
}, level{std::move(other.level)}, message{std::move(other.message)} { other.to_
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:52:19: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
bool to_log = true;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:34:62: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
Logger(DefaultDevice *device, const std::string &module = {}) : device{device
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:34:62: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: In constructor ‘INDI::Utils::Logger::Logger(INDI::DefaultDevice*, const string&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:34:73: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
gger(DefaultDevice *device, const std::string &module = {}) : device{device}, m
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:34:89: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
ce *device, const std::string &module = {}) : device{device}, module{module} {}
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: In constructor ‘INDI::Utils::Logger::Log::Log(const string&, INDI::Logger::VerbosityLevel, const string&)’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:48:20: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: device_name{device_name}, level{level} { message << prefix; }
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:48:40: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: device_name{device_name}, level{level} { message << prefix; }
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: In member function ‘INDI::Utils::Logger::Log INDI::Utils::Logger::debug() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:55:64: error: use of deleted function ‘INDI::Utils::Logger::Log::Log(const INDI::Utils::Logger::Log&)’
Log debug() const { return mkLogger(INDI::Logger::DBG_DEBUG); }
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:38:5: note: declared here
Log(const Log &) = delete;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: In member function ‘INDI::Utils::Logger::Log INDI::Utils::Logger::warning() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:56:66: error: use of deleted function ‘INDI::Utils::Logger::Log::Log(const INDI::Utils::Logger::Log&)’
Log warning() const { return mkLogger(INDI::Logger::DBG_WARNING); }
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:38:5: note: declared here
Log(const Log &) = delete;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: In member function ‘INDI::Utils::Logger::Log INDI::Utils::Logger::error() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:57:64: error: use of deleted function ‘INDI::Utils::Logger::Log::Log(const INDI::Utils::Logger::Log&)’
Log error() const { return mkLogger(INDI::Logger::DBG_ERROR); }
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:38:5: note: declared here
Log(const Log &) = delete;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: In member function ‘INDI::Utils::Logger::Log INDI::Utils::Logger::session() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:58:66: error: use of deleted function ‘INDI::Utils::Logger::Log::Log(const INDI::Utils::Logger::Log&)’
Log session() const { return mkLogger(INDI::Logger::DBG_SESSION); }
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:38:5: note: declared here
Log(const Log &) = delete;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: In member function ‘INDI::Utils::Logger::Log INDI::Utils::Logger::extra1() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:59:66: error: use of deleted function ‘INDI::Utils::Logger::Log::Log(const INDI::Utils::Logger::Log&)’
Log extra1() const { return mkLogger(INDI::Logger::DBG_EXTRA_1); }
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:38:5: note: declared here
Log(const Log &) = delete;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: In member function ‘INDI::Utils::Logger::Log INDI::Utils::Logger::extra2() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:60:66: error: use of deleted function ‘INDI::Utils::Logger::Log::Log(const INDI::Utils::Logger::Log&)’
Log extra2() const { return mkLogger(INDI::Logger::DBG_EXTRA_2); }
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:38:5: note: declared here
Log(const Log &) = delete;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: In member function ‘INDI::Utils::Logger::Log INDI::Utils::Logger::extra3() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:61:66: error: use of deleted function ‘INDI::Utils::Logger::Log::Log(const INDI::Utils::Logger::Log&)’
Log extra3() const { return mkLogger(INDI::Logger::DBG_EXTRA_3); }
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:38:5: note: declared here
Log(const Log &) = delete;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: In member function ‘INDI::Utils::Logger::Log INDI::Utils::Logger::extra4() const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:62:66: error: use of deleted function ‘INDI::Utils::Logger::Log::Log(const INDI::Utils::Logger::Log&)’
Log extra4() const { return mkLogger(INDI::Logger::DBG_EXTRA_4); }
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:38:5: note: declared here
Log(const Log &) = delete;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h: In member function ‘INDI::Utils::Logger::Log INDI::Utils::Logger::mkLogger(INDI::Logger::VerbosityLevel) const’:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:64:77: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
Logger(const INDI::Logger::VerbosityLevel level) const { return Log{device->ge
^
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:64:164: error: use of deleted function ‘INDI::Utils::Logger::Log::Log(const INDI::Utils::Logger::Log&)’
DeviceName(), INDI::Logger::DBG_DEBUG, module.empty() ? "" : module + " - "}; }
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:7:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/logger.h:38:5: note: declared here
Log(const Log &) = delete;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:8:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/camera.h: At global scope:
/home/oleh/indi_gphoto_ng/camera.h:33:16: error: ‘chrono’ in namespace ‘std’ does not name a type
typedef std::chrono::duration<double> Seconds;
^
/home/oleh/indi_gphoto_ng/camera.h:34:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
typedef std::shared_ptr<Camera> ptr;
^
/home/oleh/indi_gphoto_ng/camera.h:35:16: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<bool(CCDChip &chip)> WriteImage;
^
/home/oleh/indi_gphoto_ng/camera.h:46:5: error: ‘Seconds’ does not name a type
Seconds elapsed;
^
/home/oleh/indi_gphoto_ng/camera.h:47:5: error: ‘Seconds’ does not name a type
Seconds remaining;
^
/home/oleh/indi_gphoto_ng/camera.h:49:22: error: ‘Seconds’ has not been declared
virtual bool shoot(Seconds seconds) = 0;
^
/home/oleh/indi_gphoto_ng/camera.h:51:11: error: ‘WriteImage’ does not name a type
virtual WriteImage write_image() const = 0;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:0:
/home/oleh/indi_gphoto_ng/gphoto_ccd.h:37:13: error: ‘ptr’ in ‘class INDI::GPhoto::Camera’ does not name a type
Camera::ptr camera;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:6:0:
/home/oleh/indi_gphoto_ng/realcamera.h:41:24: error: ‘Seconds’ has not been declared
virtual bool shoot(Seconds seconds);
^
/home/oleh/indi_gphoto_ng/realcamera.h:43:13: error: ‘WriteImage’ does not name a type
virtual WriteImage write_image() const;
^
In file included from /home/oleh/indi_gphoto_ng/realcamera.h:25:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:6:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/dptr.h:22:63: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
#define D_PTR class Private; friend class Private; const std::unique_ptr<Privat
^
/home/oleh/indi_gphoto_ng/realcamera.h:46:3: note: in expansion of macro ‘D_PTR’
D_PTR;
^
In file included from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:7:0:
/home/oleh/indi_gphoto_ng/simulationcamera.h:40:24: error: ‘Seconds’ has not been declared
virtual bool shoot(Seconds seconds);
^
/home/oleh/indi_gphoto_ng/simulationcamera.h:42:13: error: ‘WriteImage’ does not name a type
virtual WriteImage write_image() const;
^
In file included from /home/oleh/indi_gphoto_ng/realcamera.h:25:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:6:
/home/oleh/indi_gphoto_ng/INDIProperties/gulinux-commons/c++/dptr.h:22:63: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
#define D_PTR class Private; friend class Private; const std::unique_ptr<Privat
^
/home/oleh/indi_gphoto_ng/simulationcamera.h:45:3: note: in expansion of macro ‘D_PTR’
D_PTR;
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:16:6: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
std::unique_ptr<GPhotoCCD> simpleCCD(new GPhotoCCD());
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In function ‘void ISGetProperties(const char*)’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:20:5: error: ‘simpleCCD’ was not declared in this scope
simpleCCD->ISGetProperties(dev);
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In function ‘void ISNewSwitch(const char*, const char*, ISState*, char**, int)’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:25:5: error: ‘simpleCCD’ was not declared in this scope
simpleCCD->ISNewSwitch(dev, name, states, names, num);
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In function ‘void ISNewText(const char*, const char*, char**, char**, int)’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:30:5: error: ‘simpleCCD’ was not declared in this scope
simpleCCD->ISNewText(dev, name, texts, names, num);
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In function ‘void ISNewNumber(const char*, const char*, double*, char**, int)’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:35:5: error: ‘simpleCCD’ was not declared in this scope
simpleCCD->ISNewNumber(dev, name, values, names, num);
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In function ‘void ISSnoopDevice(XMLEle*)’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:52:5: error: ‘simpleCCD’ was not declared in this scope
simpleCCD->ISSnoopDevice(root);
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In constructor ‘INDI::GPhoto::GPhotoCCD::GPhotoCCD()’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:55:30: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
GPhotoCCD::GPhotoCCD() : log {this, "GPhotoCCD"}
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In member function ‘virtual bool INDI::GPhoto::GPhotoCCD::Connect()’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:66:1: error: ‘camera’ was not declared in this scope
camera = isSimulation() ? Camera::ptr {new SimulationCamera{this}} :
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:66:28: error: ‘ptr’ is not a member of ‘INDI::GPhoto::Camera’
camera = isSimulation() ? Camera::ptr {new SimulationCamera{this}} :
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:66:40: error: expected ‘:’ before ‘{’ token
camera = isSimulation() ? Camera::ptr {new SimulationCamera{this}} :
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:66:40: error: expected primary-expression before ‘{’ token
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:66:69: error: expected primary-expression before ‘:’ token
camera = isSimulation() ? Camera::ptr {new SimulationCamera{this}} :
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In member function ‘virtual bool INDI::GPhoto::GPhotoCCD::Disconnect()’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:89:5: error: ‘camera’ was not declared in this scope
camera.reset();
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In member function ‘virtual bool INDI::GPhoto::GPhotoCCD::updateProperties()’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:140:13: error: ‘camera’ was not declared in this scope
camera->setup_properties(properties[Device]);
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:141:56: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
properties[Device].add_switch("ISO", this, {getDeviceName(), "ISO",
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:141:137: error: ‘UpdateArgs’ is not a member of ‘INDI::Properties::Switch’
e(), "ISO", "ISO", "Image Settings"}, ISR_1OFMANY, [&](const vector<Switch::Upd
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:141:137: error: ‘UpdateArgs’ is not a member of ‘INDI::Properties::Switch’
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:141:155: error: template argument 1 is invalid
"Image Settings"}, ISR_1OFMANY, [&](const vector<Switch::UpdateArgs> &states)
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:141:155: error: template argument 2 is invalid
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In lambda function:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:142:22: error: ‘on_switch’ does not name a type
auto on_switch = make_stream(states).first(Switch::On);
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:143:24: error: ‘on_switch’ was not declared in this scope
return on_switch && camera->set_iso(get<string>(*on_switch));
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:143:53: error: ‘get’ was not declared in this scope
return on_switch && camera->set_iso(get<string>(*on_switch));
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:143:63: error: expected primary-expression before ‘>’ token
return on_switch && camera->set_iso(get<string>(*on_switch));
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In member function ‘virtual bool INDI::GPhoto::GPhotoCCD::updateProperties()’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:144:13: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
});
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:144:14: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
});
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:144:14: error: invalid user-defined conversion from ‘INDI::GPhoto::GPhotoCCD::updateProperties()::<lambda(const int&)>’ to ‘int’ [-fpermissive]
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:141:164: note: candidate is: INDI::GPhoto::GPhotoCCD::updateProperties()::<lambda(const int&)>::operator void (*)(const int&)() const <near match>
"Image Settings"}, ISR_1OFMANY, [&](const vector<Switch::UpdateArgs> &states) {
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:141:164: note: no known conversion from ‘void (*)(const int&)’ to ‘int’
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:39:21: note: initializing argument 5 of ‘INDI::Properties::Property<INDI::Properties::Switch>& INDI::Properties::Properties<key_type>::add_switch(const key_type&, INDI::DefaultDevice*, const INDI::Properties::Identity&, ISRule, int) [with key_type = std::__cxx11::basic_string<char>]’
Property<Switch> &add_switch(const key_type &key, DefaultDevice *device, cons
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:146:22: error: ‘iso’ does not name a type
for(auto iso: camera->available_iso() )
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:149:13: error: expected ‘;’ before ‘properties’
properties[Device].add_switch("FORMAT", this, {getDeviceName(), "FO
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:149:59: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
properties[Device].add_switch("FORMAT", this, {getDeviceName(), "FO
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:149:146: error: ‘UpdateArgs’ is not a member of ‘INDI::Properties::Switch’
FORMAT", "FORMAT", "Image Settings"}, ISR_1OFMANY, [&](const vector<Switch::Upd
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:149:146: error: ‘UpdateArgs’ is not a member of ‘INDI::Properties::Switch’
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:149:164: error: template argument 1 is invalid
"Image Settings"}, ISR_1OFMANY, [&](const vector<Switch::UpdateArgs> &states)
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:149:164: error: template argument 2 is invalid
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In lambda function:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:150:22: error: ‘on_switch’ does not name a type
auto on_switch = make_stream(states).first(Switch::On);
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:151:24: error: ‘on_switch’ was not declared in this scope
return on_switch && camera->set_format(get<string>(*on_switch))
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:151:56: error: ‘get’ was not declared in this scope
return on_switch && camera->set_format(get<string>(*on_switch))
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:151:66: error: expected primary-expression before ‘>’ token
return on_switch && camera->set_format(get<string>(*on_switch))
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In member function ‘virtual bool INDI::GPhoto::GPhotoCCD::updateProperties()’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:152:13: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
});
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:152:14: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
});
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:152:14: error: invalid user-defined conversion from ‘INDI::GPhoto::GPhotoCCD::updateProperties()::<lambda(const int&)>’ to ‘int’ [-fpermissive]
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:149:173: note: candidate is: INDI::GPhoto::GPhotoCCD::updateProperties()::<lambda(const int&)>::operator void (*)(const int&)() const <near match>
"Image Settings"}, ISR_1OFMANY, [&](const vector<Switch::UpdateArgs> &states) {
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:149:173: note: no known conversion from ‘void (*)(const int&)’ to ‘int’
In file included from /home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties_map.h:28:0,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.h:6,
from /home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:4:
/home/oleh/indi_gphoto_ng/INDIProperties/src/indi_properties.h:39:21: note: initializing argument 5 of ‘INDI::Properties::Property<INDI::Properties::Switch>& INDI::Properties::Properties<key_type>::add_switch(const key_type&, INDI::DefaultDevice*, const INDI::Properties::Identity&, ISRule, int) [with key_type = std::__cxx11::basic_string<char>]’
Property<Switch> &add_switch(const key_type &key, DefaultDevice *device, cons
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:149:42: error: could not convert ‘(&((INDI::GPhoto::GPhotoCCD*)this)->INDI::GPhoto::GPhotoCCD::properties.INDI::Properties::PropertiesMap<key_type, sub_key_type>::operator[]<INDI::GPhoto::GPhotoCCD::PropertiesType, std::__cxx11::basic_string<char> >(Device))->INDI::Properties::Properties<key_type>::add_switch<std::__cxx11::basic_string<char> >(std::__cxx11::basic_string<char>(((const char*)"FORMAT"), std::allocator<char>()), (&((INDI::GPhoto::GPhotoCCD*)this)->INDI::GPhoto::GPhotoCCD::<anonymous>.INDI::CCD::<anonymous>), INDI::Properties::Identity(std::__cxx11::basic_string<char>(((INDI::GPhoto::GPhotoCCD*)this)->INDI::GPhoto::GPhotoCCD::<anonymous>.INDI::CCD::<anonymous>.INDI::DefaultDevice::<anonymous>.INDI::BaseDevice::getDeviceName(), std::allocator<char>()), std::__cxx11::basic_string<char>(((const char*)"FORMAT"), std::allocator<char>()), std::__cxx11::basic_string<char>(((const char*)"FORMAT"), std::allocator<char>()), std::__cxx11::basic_string<char>(((const char*)"Image Settings"), std::allocator<char>()), (IPerm)2u, (IPState)1u, 6.0e+1), (ISRule)0u, ((int)((long int)<lambda closure object>INDI::GPhoto::GPhotoCCD::updateProperties()::<lambda(const int&)>{}.INDI::GPhoto::GPhotoCCD::updateProperties()::<lambda(const int&)>::operator void (*)(const int&)())))’ from ‘INDI::Properties::Property<INDI::Properties::Switch>’ to ‘bool’
properties[Device].add_switch("FORMAT", this, {getDeviceName(), "FO
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:154:13: error: expected primary-expression before ‘for’
for(auto iso: camera->available_formats() )
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:154:13: error: expected ‘)’ before ‘for’
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:154:22: error: ‘iso’ does not name a type
for(auto iso: camera->available_formats() )
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:157:13: error: expected ‘;’ before ‘properties’
properties[Device].register_unregistered_properties();
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:157:64: error: could not convert ‘(&((INDI::GPhoto::GPhotoCCD*)this)->INDI::GPhoto::GPhotoCCD::properties.INDI::Properties::PropertiesMap<key_type, sub_key_type>::operator[]<INDI::GPhoto::GPhotoCCD::PropertiesType, std::__cxx11::basic_string<char> >(Device))->INDI::Properties::Properties<key_type>::register_unregistered_properties<std::__cxx11::basic_string<char> >()’ from ‘void’ to ‘bool’
properties[Device].register_unregistered_properties();
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:158:9: error: expected primary-expression before ‘}’ token
} catch(std::exception &e) {
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:158:9: error: expected ‘)’ before ‘}’ token
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:158:9: error: expected primary-expression before ‘}’ token
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In member function ‘virtual bool INDI::GPhoto::GPhotoCCD::StartExposure(float)’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:179:12: error: ‘camera’ was not declared in this scope
if(camera->shoot_status().status != Camera::ShootStatus::Idle || ! came
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:179:90: error: ‘Seconds’ is not a member of ‘INDI::GPhoto::Camera’
oot_status().status != Camera::ShootStatus::Idle || ! camera->shoot(Camera::Sec
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp: In member function ‘virtual void INDI::GPhoto::GPhotoCCD::TimerHit()’:
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:200:10: error: ‘shoot_status’ does not name a type
auto shoot_status = camera->shoot_status();
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:201:9: error: ‘shoot_status’ was not declared in this scope
if (shoot_status.status == Camera::ShootStatus::Idle)
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:202:36: error: ‘camera’ was not declared in this scope
PrimaryCCD.setExposureLeft(camera->shoot_status().remaining.count());
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:203:9: error: ‘shoot_status’ was not declared in this scope
if (shoot_status.status == Camera::ShootStatus::Finished) {
^
/home/oleh/indi_gphoto_ng/gphoto_ccd.cpp:207:12: error: ‘camera’ was not declared in this scope
if(camera->write_image()(PrimaryCCD)) {
^
CMakeFiles/indi_gphoto_ng_ccd.dir/build.make:62: спроба виконання рецепта для мети «CMakeFiles/indi_gphoto_ng_ccd.dir/gphoto_ccd.cpp.o» зазнала невдачі
make[2]: *** [CMakeFiles/indi_gphoto_ng_ccd.dir/gphoto_ccd.cpp.o] Помилка 1
CMakeFiles/Makefile2:68: спроба виконання рецепта для мети «CMakeFiles/indi_gphoto_ng_ccd.dir/all» зазнала невдачі
make[1]: *** [CMakeFiles/indi_gphoto_ng_ccd.dir/all] Помилка 2
Makefile:127: спроба виконання рецепта для мети «all» зазнала невдачі
make: *** [all] Помилка 2
oleh@oleh:~/indi_gphoto_ng/build$
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
christian@portable:~/Projects/indi_gphoto_ng$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
-- Found INDI: /usr/local/lib/libindi.so
-- Found INDI: /usr/local/lib/libindi.so
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find CImg (missing: CImg_INCLUDE_DIR CImg_plugins_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
libgphoto-cpp/cmake/FindCImg.cmake:9 (find_package_handle_standard_args)
libgphoto-cpp/CMakeLists.txt:12 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/christian/Projects/indi_gphoto_ng/CMakeFiles/CMakeOutput.log".
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.