Skip to content

Instantly share code, notes, and snippets.

@as2902b
Created April 16, 2016 11:06
Show Gist options
  • Save as2902b/686eca4e7f4207f00cc5bc79b713ca18 to your computer and use it in GitHub Desktop.
Save as2902b/686eca4e7f4207f00cc5bc79b713ca18 to your computer and use it in GitHub Desktop.
OCHeaderOption(OCHeaderOption&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCHeaderOption.h:73:48: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
OCHeaderOption(OCHeaderOption&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCHeaderOption.h:73:48: error: invalid constructor; you probably meant ‘OC::HeaderOption::OCHeaderOption (const OC::HeaderOption::OCHeaderOption&)’
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCHeaderOption.h:75:64: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
OCHeaderOption& operator=(const OCHeaderOption&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCHeaderOption.h:77:53: error: expected ‘,’ or ‘...’ before ‘&&’ token
OCHeaderOption& operator=(OCHeaderOption&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCHeaderOption.h:77:59: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
OCHeaderOption& operator=(OCHeaderOption&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCHeaderOption.h:77:29: error: defaulted declaration ‘OC::HeaderOption::OCHeaderOption& OC::HeaderOption::OCHeaderOption::operator=(OC::HeaderOption::OCHeaderOption)’
OCHeaderOption& operator=(OCHeaderOption&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCHeaderOption.h:77:29: error: does not match expected signature ‘OC::HeaderOption::OCHeaderOption& OC::HeaderOption::OCHeaderOption::operator=(OC::HeaderOption::OCHeaderOption&)’
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_logger.hpp:26:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:35,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:40:7: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
std::shared_ptr<oc_log_ctx_t> m_log;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:58:20: error: expected ‘;’ at end of member declaration
inline void flush() noexcept { return oc_log_flush(m_log.get()); }
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:58:57: error: ‘noexcept’ does not name a type
inline void flush() noexcept { return oc_log_flush(m_log.get()); }
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:59:52: error: expected ‘;’ at end of member declaration
inline void set_level(const oc_log_level new_level) noexcept { return oc_log_set_level(m_log.get(), new_level); }
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:59:57: error: ‘noexcept’ does not name a type
inline void set_level(const oc_log_level new_level) noexcept { return oc_log_set_level(m_log.get(), new_level); }
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:60:55: error: expected ‘;’ at end of member declaration
inline int set_module(const std::string& module_name) noexcept { return oc_log_set_module(m_log.get(), module_name.c_str()); }
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:60:57: error: ‘noexcept’ does not name a type
inline int set_module(const std::string& module_name) noexcept { return oc_log_set_module(m_log.get(), module_name.c_str()); }
^
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_logger.hpp:26:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:35,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:75:51: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
oc_log_stream operator=(const oc_log_stream&) = delete;
^
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_logger.hpp:26:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:35,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp: In constructor ‘OC::oc_log_stream::oc_log_stream(ContextCtor&)’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:49:5: error: class ‘OC::oc_log_stream’ does not have any field named ‘m_log’
: m_log { c(), oc_log_destroy }
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:49:11: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: m_log { c(), oc_log_destroy }
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp: In constructor ‘OC::oc_log_stream::oc_log_stream(ContextCtor&, void*)’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:54:5: error: class ‘OC::oc_log_stream’ does not have any field named ‘m_log’
: m_log { c(world), oc_log_destroy }
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:54:11: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: m_log { c(world), oc_log_destroy }
^
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_logger.hpp:26:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:35,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp: In member function ‘std::streamsize OC::oc_log_stream::write(const char_type*, std::streamsize)’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/oc_logger/oc_log_stream.hpp:69:18: error: ‘m_log’ was not declared in this scope
oc_log_write(m_log.get(), s2.c_str());
^
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:38:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:37,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:37,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h: At global scope:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:55:35: warning: variadic templates only available with -std=c++11 or -std=gnu++11
template<typename T, typename ...XS>
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:56:10: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
std::unique_ptr<T> make_unique(XS&& ...xs)
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:73:53: warning: variadic templates only available with -std=c++11 or -std=gnu++11
template <typename PtrT, typename FnT, typename ...ParamTs>
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:74:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto nil_guard(PtrT&& p, FnT&& fn, ParamTs&& ...params) -> OCStackResult
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:74:24: error: expected ‘,’ or ‘...’ before ‘&&’ token
auto nil_guard(PtrT&& p, FnT&& fn, ParamTs&& ...params) -> OCStackResult
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:74:64: error: ISO C++ forbids declaration of ‘nil_guard’ with no type [-fpermissive]
auto nil_guard(PtrT&& p, FnT&& fn, ParamTs&& ...params) -> OCStackResult
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:74:64: error: top-level declaration of ‘nil_guard’ specifies ‘auto’
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:74:64: error: trailing return type only available with -std=c++11 or -std=gnu++11
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:90:53: warning: variadic templates only available with -std=c++11 or -std=gnu++11
template <typename PtrT, typename FnT, typename ...ParamTs>
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:91:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto checked_guard(PtrT&& p, FnT&& fn, ParamTs&& ...params) -> OCStackResult
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:91:28: error: expected ‘,’ or ‘...’ before ‘&&’ token
auto checked_guard(PtrT&& p, FnT&& fn, ParamTs&& ...params) -> OCStackResult
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:91:68: error: ISO C++ forbids declaration of ‘checked_guard’ with no type [-fpermissive]
auto checked_guard(PtrT&& p, FnT&& fn, ParamTs&& ...params) -> OCStackResult
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:91:68: error: top-level declaration of ‘checked_guard’ specifies ‘auto’
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:91:68: error: trailing return type only available with -std=c++11 or -std=gnu++11
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:103:9: error: ‘constexpr’ does not name a type
constexpr static bool value = false;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:103:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:108:23: error: ‘enable_if’ in namespace ‘std’ does not name a template type
typename std::enable_if<
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:108:32: error: expected template-argument before ‘<’ token
typename std::enable_if<
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:108:32: error: expected ‘>’ before ‘<’ token
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:111:5: error: template argument 2 is invalid
>
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:112:5: error: expected ‘::’ before ‘{’ token
{
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:112:5: error: expected identifier before ‘{’ token
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCUtilities.h:112:5: error: qualified name does not name a class before ‘{’ token
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:37:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:37,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:66:36: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<int>>,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:67:48: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<std::vector<int>>>,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:69:39: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<double>>,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:70:51: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<std::vector<double>>>,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:72:37: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<bool>>,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:73:49: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<std::vector<bool>>>,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:75:44: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<std::string>>,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:76:56: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<std::vector<std::string>>>,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:78:53: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<OC::OCRepresentation>>,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:79:65: error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<std::vector<OC::OCRepresentation>>>
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:82:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11
enum class AttributeType
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:99:9: error: ‘constexpr’ does not name a type
constexpr static AttributeType type = AttributeType::Null;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:99:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:105:9: error: ‘constexpr’ does not name a type
constexpr static AttributeType type = AttributeType::Integer;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:105:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:111:9: error: ‘constexpr’ does not name a type
constexpr static AttributeType type = AttributeType::Double;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:111:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:117:9: error: ‘constexpr’ does not name a type
constexpr static AttributeType type = AttributeType::Boolean;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:117:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:123:9: error: ‘constexpr’ does not name a type
constexpr static AttributeType type = AttributeType::String;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:123:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:129:9: error: ‘constexpr’ does not name a type
constexpr static AttributeType type = AttributeType::OCRepresentation;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:129:9: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:37:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:49:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11
enum class InterfaceType
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:102:46: error: expected ‘,’ or ‘...’ before ‘&&’ token
OCRepresentation(OCRepresentation&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:102:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
OCRepresentation(OCRepresentation&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:102:52: error: invalid constructor; you probably meant ‘OC::OCRepresentation (const OC::OCRepresentation&)’
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:104:57: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
OCRepresentation(const OCRepresentation&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:106:68: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
OCRepresentation& operator=(const OCRepresentation&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:108:57: error: expected ‘,’ or ‘...’ before ‘&&’ token
OCRepresentation& operator=(OCRepresentation&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:108:63: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
OCRepresentation& operator=(OCRepresentation&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:282:47: error: expected ‘,’ or ‘...’ before ‘&&’ token
AttributeItem& operator=(T&& rhs)
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:288:68: error: declaration of ‘operator=’ as non-function
AttributeItem& operator=(std::nullptr_t /*rhs*/)
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:288:44: error: expected ‘;’ at end of member declaration
AttributeItem& operator=(std::nullptr_t /*rhs*/)
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:293:21: error: ISO C++ forbids declaration of ‘nullptr_t’ with no type [-fpermissive]
}
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:293:21: error: invalid use of ‘::’
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:293:21: error: expected ‘;’ at end of member declaration
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:298:56: error: ‘enable_if’ in namespace ‘std’ does not name a template type
template<typename T, typename std::enable_if<
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:298:65: error: expected ‘>’ before ‘<’ token
template<typename T, typename std::enable_if<
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:322:21: error: expected unqualified-id before ‘{’ token
{
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:326:56: error: ‘enable_if’ in namespace ‘std’ does not name a template type
template<typename T, typename std::enable_if<
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:326:65: error: expected ‘>’ before ‘<’ token
template<typename T, typename std::enable_if<
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:339:59: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
AttributeItem(const AttributeItem&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:356:49: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
iterator(const iterator&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:357:35: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
~iterator() = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:368:77: error: expected ‘,’ or ‘...’ before ‘&&’ token
iterator(std::map<std::string, AttributeValue>::iterator&& itr,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:389:61: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
const_iterator(const const_iterator&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:390:41: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
~const_iterator() = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:401:89: error: expected ‘,’ or ‘...’ before ‘&&’ token
const_iterator(std::map<std::string, AttributeValue>::const_iterator&& itr,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:108:31: error: defaulted declaration ‘OC::OCRepresentation& OC::OCRepresentation::operator=(OC::OCRepresentation)’
OCRepresentation& operator=(OCRepresentation&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:108:31: error: does not match expected signature ‘OC::OCRepresentation& OC::OCRepresentation::operator=(OC::OCRepresentation&)’
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h: In constructor ‘OC::OCRepresentation::OCRepresentation()’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:100:49: error: ‘InterfaceType’ is not a class or namespace
OCRepresentation(): m_interfaceType(InterfaceType::None){}
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h: In member function ‘bool OC::OCRepresentation::getValue(const string&, T&) const’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:167:17: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto x = m_values.find(str);
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:167:22: error: ‘x’ does not name a type
auto x = m_values.find(str);
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:169:20: error: ‘x’ was not declared in this scope
if(x!= m_values.end())
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h: In member function ‘T OC::OCRepresentation::getValue(const string&) const’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:201:17: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto x = m_values.find(str);
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:201:22: error: ‘x’ does not name a type
auto x = m_values.find(str);
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:202:20: error: ‘x’ was not declared in this scope
if(x != m_values.end())
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h: In member function ‘bool OC::OCRepresentation::getAttributeValue(const string&, OC::AttributeValue&) const’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:226:17: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto x = m_values.find(str);
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:226:22: error: ‘x’ does not name a type
auto x = m_values.find(str);
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:228:21: error: ‘x’ was not declared in this scope
if (x != m_values.end())
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h: In member function ‘OC::OCRepresentation::AttributeItem& OC::OCRepresentation::AttributeItem::operator=(T)’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:284:48: error: ‘forward’ is not a member of ‘std’
m_values[m_attrName] = std::forward<T>(rhs);
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:284:62: error: expected primary-expression before ‘>’ token
m_values[m_attrName] = std::forward<T>(rhs);
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:284:64: error: ‘rhs’ was not declared in this scope
m_values[m_attrName] = std::forward<T>(rhs);
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h: In member function ‘OC::OCRepresentation::AttributeItem::operator T() const’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:333:32: error: ‘nullptr’ was not declared in this scope
return nullptr;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h: In constructor ‘OC::OCRepresentation::iterator::iterator(std::map<std::basic_string<char>, boost::variant<OC::NullType, int, double, bool, std::basic_string<char>, OC::OCRepresentation, std::vector<int>, std::vector<double>, std::vector<bool>, std::vector<std::basic_string<char> >, std::vector<OC::OCRepresentation>, std::vector<std::vector<int> >, std::vector<std::vector<std::vector<int> > >, std::vector<std::vector<double> >, std::vector<std::vector<std::vector<double> > >, std::vector<std::vector<bool> >, std::vector<std::vector<std::vector<bool> > >, std::vector<std::vector<std::basic_string<char> > >, std::vector<std::vector<std::vector<std::basic_string<char> > > >, std::vector<std::vector<OC::OCRepresentation> >, std::vector<std::vector<std::vector<OC::OCRepresentation> > > > >::iterator)’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:370:38: error: ‘move’ is not a member of ‘std’
: m_iterator(std::move(itr)),
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:370:38: note: suggested alternative:
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/boost/variant/variant.hpp:39:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/boost/variant.hpp:17,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:36,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:37,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:37,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/boost/variant/detail/move.hpp:88:1: note: ‘boost::detail::variant::move’
move(T& source)
^
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:37:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:370:48: error: ‘itr’ was not declared in this scope
: m_iterator(std::move(itr)),
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:371:46: error: ‘vals’ was not declared in this scope
m_item(m_iterator != vals.end() ? m_iterator->first:"", vals){}
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h: In constructor ‘OC::OCRepresentation::const_iterator::const_iterator(std::map<std::basic_string<char>, boost::variant<OC::NullType, int, double, bool, std::basic_string<char>, OC::OCRepresentation, std::vector<int>, std::vector<double>, std::vector<bool>, std::vector<std::basic_string<char> >, std::vector<OC::OCRepresentation>, std::vector<std::vector<int> >, std::vector<std::vector<std::vector<int> > >, std::vector<std::vector<double> >, std::vector<std::vector<std::vector<double> > >, std::vector<std::vector<bool> >, std::vector<std::vector<std::vector<bool> > >, std::vector<std::vector<std::basic_string<char> > >, std::vector<std::vector<std::vector<std::basic_string<char> > > >, std::vector<std::vector<OC::OCRepresentation> >, std::vector<std::vector<std::vector<OC::OCRepresentation> > > > >::const_iterator)’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:403:38: error: ‘move’ is not a member of ‘std’
: m_iterator(std::move(itr)),
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:403:38: note: suggested alternative:
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/boost/variant/variant.hpp:39:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/boost/variant.hpp:17,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/AttributeValue.h:36,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:37,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:37,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/boost/variant/detail/move.hpp:88:1: note: ‘boost::detail::variant::move’
move(T& source)
^
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:37:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:403:48: error: ‘itr’ was not declared in this scope
: m_iterator(std::move(itr)),
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCRepresentation.h:404:46: error: ‘vals’ was not declared in this scope
m_item(m_iterator != vals.end() ? m_iterator->first: "", vals){}
^
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:30:0,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h: At global scope:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:55:9: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto oclog_target = []() -> log_target_t&
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:55:14: error: ‘oclog_target’ does not name a type
auto oclog_target = []() -> log_target_t&
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:64:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto oclog = []() -> boost::iostreams::stream<OC::oc_log_stream>&
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:64:10: error: ‘oclog’ does not name a type
auto oclog = []() -> boost::iostreams::stream<OC::oc_log_stream>&
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:74:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11
enum class OCPlatformStatus
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:80:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11
enum class OCAdvertisementStatus
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:87:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11
enum class ServiceType
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:96:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11
enum class ModeType
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:110:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11
enum class QualityOfService : uint8_t
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:110:35: warning: scoped enums only available with -std=c++11 or -std=gnu++11
enum class QualityOfService : uint8_t
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:170:40: error: ‘nullptr’ was not declared in this scope
OCPersistentStorage *ps_ = nullptr)
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:186:40: error: ‘nullptr’ was not declared in this scope
OCPersistentStorage *ps_ = nullptr)
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h: In constructor ‘OC::PlatformConfig::PlatformConfig()’:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:156:31: error: ‘ServiceType’ is not a class or namespace
: serviceType(ServiceType::InProc),
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:157:22: error: ‘ModeType’ is not a class or namespace
mode(ModeType::Both),
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:162:21: error: ‘QualityOfService’ is not a class or namespace
QoS(QualityOfService::NaQos),
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:163:20: error: ‘nullptr’ was not declared in this scope
ps(nullptr)
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h: At global scope:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:204:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11
enum class ObserveType
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:220:5: warning: scoped enums only available with -std=c++11 or -std=gnu++11
enum class ObserveAction
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:253:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void(std::shared_ptr<OCResource>)> FindCallback;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:255:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void(const OCRepresentation&)> FindDeviceCallback;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:257:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void(const OCRepresentation&)> FindPlatformCallback;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:259:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<OCEntityHandlerResult(
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:262:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void(OCStackResult, const unsigned int,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:265:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void(const HeaderOptions&,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:268:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void(const HeaderOptions&,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:271:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void(const HeaderOptions&,
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:274:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void(const HeaderOptions&, const int)> DeleteCallback;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCApi.h:276:18: error: ‘function’ in namespace ‘std’ does not name a template type
typedef std::function<void(const HeaderOptions&,
^
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCResource.h:36:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform_impl.h:35,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:31,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/ResourceInitException.h:78:36: error: expected ‘;’ at end of member declaration
virtual const char* what() const noexcept
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/ResourceInitException.h:78:42: error: ‘noexcept’ does not name a type
virtual const char* what() const noexcept
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/ResourceInitException.h:78:29: error: looser throw specifier for ‘virtual const char* OC::ResourceInitException::what() const’
virtual const char* what() const noexcept
^
In file included from /home/sanjeev/tizen-sdk/tools/arm-linux-gnueabi-gcc-4.9/arm-linux-gnueabi/include/c++/4.9.2/new:40:0,
from /home/sanjeev/tizen-sdk/tools/arm-linux-gnueabi-gcc-4.9/arm-linux-gnueabi/include/c++/4.9.2/ext/new_allocator.h:33,
from /home/sanjeev/tizen-sdk/tools/arm-linux-gnueabi-gcc-4.9/arm-linux-gnueabi/include/c++/4.9.2/arm-linux-gnueabi/bits/c++allocator.h:33,
from /home/sanjeev/tizen-sdk/tools/arm-linux-gnueabi-gcc-4.9/arm-linux-gnueabi/include/c++/4.9.2/bits/allocator.h:46,
from /home/sanjeev/tizen-sdk/tools/arm-linux-gnueabi-gcc-4.9/arm-linux-gnueabi/include/c++/4.9.2/string:41,
from ../src/geniviocfs2.cpp:9:
/home/sanjeev/tizen-sdk/tools/arm-linux-gnueabi-gcc-4.9/arm-linux-gnueabi/include/c++/4.9.2/exception:68:25: error: overriding ‘virtual const char* std::exception::what() const throw ()’
virtual const char* what() const _GLIBCXX_USE_NOEXCEPT;
^
In file included from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCResource.h:37:0,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform_impl.h:35,
from /home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCPlatform.h:31,
from ../src/geniviocfs2.cpp:15:
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/IClientWrapper.h:33:63: error: expected template-name before ‘<’ token
class IClientWrapper : public std::enable_shared_from_this<IClientWrapper>
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/IClientWrapper.h:33:63: error: expected ‘{’ before ‘<’ token
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/IClientWrapper.h:33:63: error: expected unqualified-id before ‘<’ token
../src/geniviocfs2.cpp:742:1: error: expected ‘}’ at end of input
}
^
ninja: build stopped: subcommand failed.
20:04:17 Build Finished (took 3s.145ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment