/usr/include/c++/4.8.2/atomic:214:67: 错误:‘noexcept’不是一个类型名
load(memory_order _m = memory_order_seq_cst) const volatile noexcept
^
/usr/include/c++/4.8.2/atomic:222:63: 错误:expected ‘;’ at end of member declaration
exchange(_Tp __i, memory_order _m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:222:65: 错误:‘noexcept’不是一个类型名
exchange(_Tp __i, memory_order _m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:231:49: 错误:expected ‘;’ at end of member declaration
memory_order _m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:231:58: 错误:‘noexcept’不是一个类型名
memory_order _m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:240:24: 错误:expected ‘;’ at end of member declaration
memory_order __f) noexcept
^
/usr/include/c++/4.8.2/atomic:240:26: 错误:‘noexcept’不是一个类型名
memory_order __f) noexcept
^
/usr/include/c++/4.8.2/atomic:247:26: 错误:expected ‘;’ at end of member declaration
memory_order __f) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:247:35: 错误:‘noexcept’不是一个类型名
memory_order __f) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:254:47: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:254:49: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:259:49: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:259:58: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:264:26: 错误:expected ‘;’ at end of member declaration
memory_order __f) noexcept
^
/usr/include/c++/4.8.2/atomic:264:28: 错误:‘noexcept’不是一个类型名
memory_order __f) noexcept
^
/usr/include/c++/4.8.2/atomic:271:28: 错误:expected ‘;’ at end of member declaration
memory_order __f) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:271:37: 错误:‘noexcept’不是一个类型名
memory_order __f) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:278:50: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:278:52: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:283:49: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:283:58: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:296:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:296:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:297:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:297:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:302:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__pointer_type __p) noexcept : _M_b(__p) { }
^
/usr/include/c++/4.8.2/atomic:302:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:304:33: 错误:expected ‘;’ at end of member declaration
operator __pointer_type() const noexcept
^
/usr/include/c++/4.8.2/atomic:304:39: 错误:‘noexcept’不是一个类型名
operator __pointer_type() const noexcept
^
/usr/include/c++/4.8.2/atomic:307:39: 错误:expected ‘;’ at end of member declaration
operator __pointer_type() const volatile noexcept
^
/usr/include/c++/4.8.2/atomic:307:48: 错误:‘noexcept’不是一个类型名
operator __pointer_type() const volatile noexcept
^
/usr/include/c++/4.8.2/atomic:311:35: 错误:expected ‘;’ at end of member declaration
operator=(__pointer_type __p) noexcept
^
/usr/include/c++/4.8.2/atomic:311:37: 错误:‘noexcept’不是一个类型名
operator=(__pointer_type __p) noexcept
^
/usr/include/c++/4.8.2/atomic:315:37: 错误:expected ‘;’ at end of member declaration
operator=(__pointer_type __p) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:315:46: 错误:‘noexcept’不是一个类型名
operator=(__pointer_type __p) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:319:21: 错误:expected ‘;’ at end of member declaration
operator++(int) noexcept
^
/usr/include/c++/4.8.2/atomic:319:23: 错误:‘noexcept’不是一个类型名
operator++(int) noexcept
^
/usr/include/c++/4.8.2/atomic:323:23: 错误:expected ‘;’ at end of member declaration
operator++(int) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:323:32: 错误:‘noexcept’不是一个类型名
operator++(int) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:327:21: 错误:expected ‘;’ at end of member declaration
operator–(int) noexcept
^
/usr/include/c++/4.8.2/atomic:327:23: 错误:‘noexcept’不是一个类型名
operator–(int) noexcept
^
/usr/include/c++/4.8.2/atomic:331:23: 错误:expected ‘;’ at end of member declaration
operator–(int) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:331:32: 错误:‘noexcept’不是一个类型名
operator–(int) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:335:18: 错误:expected ‘;’ at end of member declaration
operator++() noexcept
^
/usr/include/c++/4.8.2/atomic:335:20: 错误:‘noexcept’不是一个类型名
operator++() noexcept
^
/usr/include/c++/4.8.2/atomic:339:20: 错误:expected ‘;’ at end of member declaration
operator++() volatile noexcept
^
/usr/include/c++/4.8.2/atomic:339:29: 错误:‘noexcept’不是一个类型名
operator++() volatile noexcept
^
/usr/include/c++/4.8.2/atomic:343:18: 错误:expected ‘;’ at end of member declaration
operator–() noexcept
^
/usr/include/c++/4.8.2/atomic:343:20: 错误:‘noexcept’不是一个类型名
operator–() noexcept
^
/usr/include/c++/4.8.2/atomic:347:20: 错误:expected ‘;’ at end of member declaration
operator–() volatile noexcept
^
/usr/include/c++/4.8.2/atomic:347:29: 错误:‘noexcept’不是一个类型名
operator–() volatile noexcept
^
/usr/include/c++/4.8.2/atomic:351:31: 错误:expected ‘;’ at end of member declaration
operator+=(ptrdiff_t __d) noexcept
^
/usr/include/c++/4.8.2/atomic:351:33: 错误:‘noexcept’不是一个类型名
operator+=(ptrdiff_t __d) noexcept
^
/usr/include/c++/4.8.2/atomic:355:33: 错误:expected ‘;’ at end of member declaration
operator+=(ptrdiff_t __d) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:355:42: 错误:‘noexcept’不是一个类型名
operator+=(ptrdiff_t __d) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:359:31: 错误:expected ‘;’ at end of member declaration
operator-=(ptrdiff_t __d) noexcept
^
/usr/include/c++/4.8.2/atomic:359:33: 错误:‘noexcept’不是一个类型名
operator-=(ptrdiff_t __d) noexcept
^
/usr/include/c++/4.8.2/atomic:363:33: 错误:expected ‘;’ at end of member declaration
operator-=(ptrdiff_t __d) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:363:42: 错误:‘noexcept’不是一个类型名
operator-=(ptrdiff_t __d) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:367:22: 错误:expected ‘;’ at end of member declaration
is_lock_free() const noexcept
^
/usr/include/c++/4.8.2/atomic:367:28: 错误:‘noexcept’不是一个类型名
is_lock_free() const noexcept
^
/usr/include/c++/4.8.2/atomic:371:28: 错误:expected ‘;’ at end of member declaration
is_lock_free() const volatile noexcept
^
/usr/include/c++/4.8.2/atomic:371:37: 错误:‘noexcept’不是一个类型名
is_lock_free() const volatile noexcept
^
/usr/include/c++/4.8.2/atomic:376:45: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:376:47: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:381:47: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:381:56: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:385:53: 错误:expected ‘;’ at end of member declaration
load(memory_order __m = memory_order_seq_cst) const noexcept
^
/usr/include/c++/4.8.2/atomic:385:59: 错误:‘noexcept’不是一个类型名
load(memory_order __m = memory_order_seq_cst) const noexcept
^
/usr/include/c++/4.8.2/atomic:389:59: 错误:expected ‘;’ at end of member declaration
load(memory_order __m = memory_order_seq_cst) const volatile noexcept
^
/usr/include/c++/4.8.2/atomic:389:68: 错误:‘noexcept’不是一个类型名
load(memory_order __m = memory_order_seq_cst) const volatile noexcept
^
/usr/include/c++/4.8.2/atomic:394:48: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:394:50: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:399:50: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:399:59: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:404:44: 错误:expected ‘;’ at end of member declaration
memory_order __m1, memory_order __m2) noexcept
^
/usr/include/c++/4.8.2/atomic:404:46: 错误:‘noexcept’不是一个类型名
memory_order __m1, memory_order __m2) noexcept
^
/usr/include/c++/4.8.2/atomic:410:27: 错误:expected ‘;’ at end of member declaration
memory_order __m2) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:410:36: 错误:‘noexcept’不是一个类型名
memory_order __m2) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:415:47: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:415:49: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:423:48: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:423:57: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:431:46: 错误:expected ‘;’ at end of member declaration
memory_order __m1, memory_order __m2) noexcept
^
/usr/include/c++/4.8.2/atomic:431:48: 错误:‘noexcept’不是一个类型名
memory_order __m1, memory_order __m2) noexcept
^
/usr/include/c++/4.8.2/atomic:437:29: 错误:expected ‘;’ at end of member declaration
memory_order __m2) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:437:38: 错误:‘noexcept’不是一个类型名
memory_order __m2) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:442:49: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:442:51: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:450:48: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:450:57: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:458:42: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:458:44: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:463:44: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:463:53: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:468:42: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:468:44: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) noexcept
^
/usr/include/c++/4.8.2/atomic:473:44: 错误:expected ‘;’ at end of member declaration
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:473:53: 错误:‘noexcept’不是一个类型名
memory_order __m = memory_order_seq_cst) volatile noexcept
^
/usr/include/c++/4.8.2/atomic:485:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:485:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:486:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:486:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:491:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:491:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:504:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:504:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:505:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:505:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:510:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:510:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:523:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept= default;
^
/usr/include/c++/4.8.2/atomic:523:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept= default;
^
/usr/include/c++/4.8.2/atomic:524:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:524:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:529:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:529:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:542:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept= default;
^
/usr/include/c++/4.8.2/atomic:542:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept= default;
^
/usr/include/c++/4.8.2/atomic:543:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:543:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:548:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:548:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:561:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:561:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:562:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:562:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:567:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:567:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:580:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:580:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:581:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:581:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:586:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:586:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:599:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:599:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:600:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:600:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:605:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:605:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:618:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:618:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:619:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:619:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:624:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:624:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:637:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:637:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:638:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:638:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:643:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:643:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:656:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:656:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:657:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:657:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:662:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:662:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:675:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:675:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:676:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:676:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:681:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:681:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:694:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:694:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:695:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:695:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:700:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:700:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:713:14: 错误:expected ‘;’ at end of member declaration
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:713:16: 错误:‘noexcept’不是一个类型名
atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:714:15: 错误:expected ‘;’ at end of member declaration
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:714:17: 错误:‘noexcept’不是一个类型名
~atomic() noexcept = default;
^
/usr/include/c++/4.8.2/atomic:719:7: 错误:‘constexpr’不是一个类型名
constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
^
/usr/include/c++/4.8.2/atomic:719:7: 附注:C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
/usr/include/c++/4.8.2/atomic:727:19: 错误:‘char16_t’在此作用域中尚未声明
struct atomic<char16_t> : public atomic_char16_t
^
/usr/include/c++/4.8.2/atomic:727:27: 错误:模板第 1 个参数无效
struct atomic<char16_t> : public atomic_char16_t
^
/usr/include/c++/4.8.2/atomic:728:5: 错误:expected class-name before ‘{’ token
{
^
/usr/include/c++/4.8.2/atomic:746:19: 错误:‘char32_t’在此作用域中尚未声明
struct atomic<char32_t> : public atomic_char32_t
^
/usr/include/c++/4.8.2/atomic:746:27: 错误:模板第 1 个参数无效
struct atomic<char32_t> : public atomic_char32_t
^
/usr/include/c++/4.8.2/atomic:747:5: 错误:expected class-name before ‘{’ token
{
^
/usr/include/c++/4.8.2/atomic:767:27: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:772:27: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:776:66: 错误:expected initializer before ‘noexcept’
atomic_flag_clear_explicit(atomic_flag* __a, memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:781:27: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:785:46: 错误:expected initializer before ‘noexcept’
atomic_flag_test_and_set(atomic_flag* __a) noexcept
^
/usr/include/c++/4.8.2/atomic:789:55: 错误:expected initializer before ‘noexcept’
atomic_flag_test_and_set(volatile atomic_flag* __a) noexcept
^
/usr/include/c++/4.8.2/atomic:793:39: 错误:expected initializer before ‘noexcept’
atomic_flag_clear(atomic_flag* __a) noexcept
^
/usr/include/c++/4.8.2/atomic:797:48: 错误:expected initializer before ‘noexcept’
atomic_flag_clear(volatile atomic_flag* __a) noexcept
^
/usr/include/c++/4.8.2/atomic:804:50: 错误:expected initializer before ‘noexcept’
atomic_is_lock_free(const atomic<_ITp>* __a) noexcept
^
/usr/include/c++/4.8.2/atomic:809:59: 错误:expected initializer before ‘noexcept’
atomic_is_lock_free(const volatile atomic<_ITp>* __a) noexcept
^
/usr/include/c++/4.8.2/atomic:814:46: 错误:expected initializer before ‘noexcept’
atomic_init(atomic<_ITp>* __a, _ITp __i) noexcept;
^
/usr/include/c++/4.8.2/atomic:818:55: 错误:expected initializer before ‘noexcept’
atomic_init(volatile atomic<_ITp>* __a, _ITp __i) noexcept;
^
/usr/include/c++/4.8.2/atomic:823:24: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:829:24: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:834:69: 错误:expected initializer before ‘noexcept’
atomic_load_explicit(const atomic<_ITp>* __a, memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:840:23: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:846:27: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:852:27: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:860:27: 错误:expected initializer before ‘noexcept’
memory_order __m2) noexcept
^
/usr/include/c++/4.8.2/atomic:868:27: 错误:expected initializer before ‘noexcept’
memory_order __m2) noexcept
^
/usr/include/c++/4.8.2/atomic:876:29: 错误:expected initializer before ‘noexcept’
memory_order __m2) noexcept
^
/usr/include/c++/4.8.2/atomic:884:29: 错误:expected initializer before ‘noexcept’
memory_order __m2) noexcept
^
/usr/include/c++/4.8.2/atomic:890:47: 错误:expected initializer before ‘noexcept’
atomic_store(atomic<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:895:56: 错误:expected initializer before ‘noexcept’
atomic_store(volatile atomic<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:900:42: 错误:expected initializer before ‘noexcept’
atomic_load(const atomic<_ITp>* __a) noexcept
^
/usr/include/c++/4.8.2/atomic:905:51: 错误:expected initializer before ‘noexcept’
atomic_load(const volatile atomic<_ITp>* __a) noexcept
^
/usr/include/c++/4.8.2/atomic:910:50: 错误:expected initializer before ‘noexcept’
atomic_exchange(atomic<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:915:59: 错误:expected initializer before ‘noexcept’
atomic_exchange(volatile atomic<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:921:29: 错误:expected initializer before ‘noexcept’
_ITp* __i1, _ITp __i2) noexcept
^
/usr/include/c++/4.8.2/atomic:931:29: 错误:expected initializer before ‘noexcept’
_ITp* __i1, _ITp __i2) noexcept
^
/usr/include/c++/4.8.2/atomic:941:31: 错误:expected initializer before ‘noexcept’
_ITp* __i1, _ITp __i2) noexcept
^
/usr/include/c++/4.8.2/atomic:951:31: 错误:expected initializer before ‘noexcept’
_ITp* __i1, _ITp __i2) noexcept
^
/usr/include/c++/4.8.2/atomic:965:28: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:971:28: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:977:28: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:983:28: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:989:28: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:995:28: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:1001:27: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:1007:27: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:1013:28: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:1019:28: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:1024:58: 错误:expected initializer before ‘noexcept’
atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:1029:67: 错误:expected initializer before ‘noexcept’
atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:1034:58: 错误:expected initializer before ‘noexcept’
atomic_fetch_sub(__atomic_base<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:1039:67: 错误:expected initializer before ‘noexcept’
atomic_fetch_sub(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:1044:58: 错误:expected initializer before ‘noexcept’
atomic_fetch_and(__atomic_base<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:1049:67: 错误:expected initializer before ‘noexcept’
atomic_fetch_and(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:1054:57: 错误:expected initializer before ‘noexcept’
atomic_fetch_or(__atomic_base<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:1059:66: 错误:expected initializer before ‘noexcept’
atomic_fetch_or(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:1064:58: 错误:expected initializer before ‘noexcept’
atomic_fetch_xor(__atomic_base<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:1069:67: 错误:expected initializer before ‘noexcept’
atomic_fetch_xor(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept
^
/usr/include/c++/4.8.2/atomic:1077:28: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:1083:28: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:1088:66: 错误:expected initializer before ‘noexcept’
atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept
^
/usr/include/c++/4.8.2/atomic:1093:57: 错误:expected initializer before ‘noexcept’
atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept
^
/usr/include/c++/4.8.2/atomic:1099:43: 错误:expected initializer before ‘noexcept’
ptrdiff_t __d, memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:1105:28: 错误:expected initializer before ‘noexcept’
memory_order __m) noexcept
^
/usr/include/c++/4.8.2/atomic:1110:66: 错误:expected initializer before ‘noexcept’
atomic_fetch_sub(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept
^
/usr/include/c++/4.8.2/atomic:1115:57: 错误:expected initializer before ‘noexcept’
atomic_fetch_sub(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept
^
In file included from …/_public.cpp:6:0:
…/_public.h:85:32: 警告:defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [默认启用]
ccmdstr(const ccmdstr &) = delete; // 禁用拷贝构造函数。
^
…/_public.h:86:43: 警告:defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [默认启用]
ccmdstr &operator=(const ccmdstr &) = delete; // 禁用赋值函数。
^
…/_public.h:151:19: 警告:variadic templates only available with -std=c++11 or -std=gnu++11 [默认启用]
template< typename… Args >
^
…/_public.h:152:51: 警告:variadic templates only available with -std=c++11 or -std=gnu++11 [默认启用]
bool sformat(string &str,const char* fmt, Args… args )
^
…/_public.h: 在函数‘bool idc::sformat(std::string&, const char*, Args …)’中:
…/_public.h:154:25: 错误:‘nullptr’在此作用域中尚未声明
int len = snprintf( nullptr, 0, fmt, args… ); // 得到格式化输出后字符串的总长度。
^
…/_public.h: 在全局域:
…/_public.h:162:19: 警告:variadic templates only available with -std=c++11 or -std=gnu++11 [默认启用]
template< typename… Args >
^
…/_public.h:163:41: 警告:variadic templates only available with -std=c++11 or -std=gnu++11 [默认启用]
string sformat(const char* fmt, Args… args )
^
…/_public.h: 在函数‘std::string idc::sformat(const char*, Args …)’中:
…/_public.h:167:25: 错误:‘nullptr’在此作用域中尚未声明
int len = snprintf( nullptr, 0, fmt, args… ); // 得到格式化后字符串的长度。
^
…/_public.h: 在全局域:
…/_public.h:305:26: 警告:defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [默认启用]
cdir(const cdir &) = delete; // 禁用拷贝构造函数。
^
…/_public.h:306:37: 警告:defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [默认启用]
cdir &operator=(const cdir &) = delete; // 禁用赋值函数。
^
…/_public.h:367:23: 警告:variadic templates only available with -std=c++11 or -std=gnu++11 [默认启用]
template< typename… Args >
^
…/_public.h:368:45: 警告:variadic templates only available with -std=c++11 or -std=gnu++11 [默认启用]
bool writeline(const char* fmt, Args… args)
^
…/_public.h:439:45: 警告:defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [默认启用]
spinlock_mutex(const spinlock_mutex&) = delete;
^
…/_public.h:440:55: 警告:defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [默认启用]
spinlock_mutex& operator=(const spinlock_mutex) = delete;
^
…/_public.h:485:23: 警告:variadic templates only available with -std=c++11 or -std=gnu++11 [默认启用]
template< typename… Args >
^
…/_public.h:486:41: 警告:variadic templates only available with -std=c++11 or -std=gnu++11 [默认启用]
bool write(const char* fmt, Args… args)
^
…/_public.h:659:30: 警告:defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [默认启用]
squeue(const squeue &) = delete; // 禁用拷贝构造函数。
^
…/_public.h:660:41: 警告:defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [默认启用]
squeue &operator=(const squeue &) = delete; // 禁用赋值函数。
^
…/_public.h:765:28: 警告:defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [默认启用]
csemp(const csemp &) = delete; // 禁用拷贝构造函数。
^
…/_public.h:766:39: 警告:defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [默认启用]
csemp &operator=(const csemp &) = delete; // 禁用赋值函数。
^
…/_public.h:784:18: 警告:non-static data member initializers only available with -std=c++11 or -std=gnu++11 [默认启用]
int pid=0; // 进程id。
^
…/_public.h:785:24: 警告:non-static data member initializers only available with -std=c++11 or -std=gnu++11 [默认启用]
char pname[51]={0}; // 进程名称,可以为空。
^
…/_public.h:786:22: 警告:non-static data member initializers only available with -std=c++11 or -std=gnu++11 [默认启用]
int timeout=0; // 超时时间,单位:秒。
^
…/_public.h:787:18: 警告:non-static data member initializers only available with -std=c++11 or -std=gnu++11 [默认启用]
time_t atime=0; // 最后一次心跳的时间,用整数表示。
^
…/_public.h:788:21: 警告:defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [默认启用]
st_procinfo() = default; // 有了自定义的构造函数,编译器将不提供默认构造函数,所以启用默认构造函数。
^
…/_public.h:785:24: 警告:extended initializer lists only available with -std=c++11 or -std=gnu++11 [默认启用]
char pname[51]={0}; // 进程名称,可以为空。
^
…/_public.h:815:79: 错误:‘nullptr’在此作用域中尚未声明
bool addpinfo(const int timeout,const string &pname="",clogfile logfile=nullptr);
^
…/_public.cpp: 在函数‘char idc::deletelchr(char*, int)’中:
…/_public.cpp:13:16: 错误:‘nullptr’在此作用域中尚未声明
if (str == nullptr) return nullptr; // 如果传进来的是空地址,直接返回,防止程序崩溃。
^
…/_public.cpp: 在函数‘std::string& idc::deletelchr(std::string&, int)’中:
…/_public.cpp:26:10: 错误:‘pos’不是一个类型名
auto pos=str.find_first_not_of(cc); // 从字符串的左边查找第一个不是cc的字符的位置。
^
…/_public.cpp:28:9: 错误:‘pos’在此作用域中尚未声明
if (pos!= 0) str.replace(0,pos,""); // 把0-pos之间的字符串替换成空。
^
…/_public.cpp: 在函数‘char* idc::deleterchr(char*, int)’中:
…/_public.cpp:35:16: 错误:‘nullptr’在此作用域中尚未声明
if (str == nullptr) return nullptr; // 如果传进来的是空地址,直接返回,防止程序崩溃。
^
…/_public.cpp: 在函数‘std::string& idc::deleterchr(std::string&, int)’中:
…/_public.cpp:54:10: 错误:‘pos’不是一个类型名
auto pos=str.find_last_not_of(cc); // 从字符串的右边查找第一个不是cc的字符的位置。
^
…/_public.cpp:56:9: 错误:‘pos’在此作用域中尚未声明
if (pos!= 0) str.erase(pos+1); // 把pos之后的字符删掉。
^
…/_public.cpp: 在函数‘char* idc::toupper(char*)’中:
…/_public.cpp:79:16: 错误:‘nullptr’在此作用域中尚未声明
if (str == nullptr) return nullptr;
^
…/_public.cpp: 在函数‘std::string& idc::toupper(std::string&)’中:
…/_public.cpp:93:16: 错误:ISO C++ 不允许声明无类型的‘cc’ [-fpermissive]
for (auto &cc:str)
^
…/_public.cpp:93:19: 错误:range-based ‘for’ loops are not allowed in C++98 mode
for (auto &cc:str)
^
…/_public.cpp: 在函数‘char* idc::tolower(char*)’中:
…/_public.cpp:103:16: 错误:‘nullptr’在此作用域中尚未声明
if (str == nullptr) return nullptr;
^
…/_public.cpp: 在函数‘std::string& idc::tolower(std::string&)’中:
…/_public.cpp:117:16: 错误:ISO C++ 不允许声明无类型的‘cc’ [-fpermissive]
for (auto &cc:str)
^
…/_public.cpp:117:19: 错误:range-based ‘for’ loops are not allowed in C++98 mode
for (auto &cc:str)
^
…/_public.cpp: 在函数‘bool idc::replacestr(char*, const string&, const string&, bool)’中:
…/_public.cpp:155:16: 错误:‘nullptr’在此作用域中尚未声明
if (str == nullptr) return false;
^
…/_public.cpp: 在函数‘char* idc::picknumber(const string&, char*, bool, bool)’中:
…/_public.cpp:169:15: 错误:‘nullptr’在此作用域中尚未声明
if (destnullptr) return nullptr; // 判断空指针。
^
…/_public.cpp: 在函数‘std::string& idc::picknumber(const string&, std::string&, bool, bool)’中:
…/_public.cpp:183:18: 错误:range-based ‘for’ loops are not allowed in C++98 mode
for (char cc:src)
^
…/_public.cpp: 在成员函数‘void idc::ccmdstr::splittocmd(const string&, const string&, bool)’中:
…/_public.cpp:289:28: 错误:‘move’不是‘std’的成员
m_cmdstr.push_back(std::move(substr)); // 把子串放入m_cmdstr容器中,调用string类的移动构造函数。
^
…/_public.cpp:299:24: 错误:‘move’不是‘std’的成员
m_cmdstr.push_back(std::move(substr));
^
…/_public.cpp: 在成员函数‘bool idc::ccmdstr::getvalue(int, char*, int) const’中:
…/_public.cpp:321:43: 错误:‘nullptr’在此作用域中尚未声明
if ( (ii>=m_cmdstr.size()) || (valuenullptr) ) return false;
^
…/_public.cpp: 在成员函数‘bool idc::ccmdstr::getvalue(int, int&) const’中:
…/_public.cpp:345:51: 错误:‘stoi’在此作用域中尚未声明
value = stoi(picknumber(m_cmdstr[ii],true)); // stoi有异常,需要处理异常。
^
…/_public.cpp: 在成员函数‘bool idc::ccmdstr::getvalue(int, unsigned int&) const’中:
…/_public.cpp:361:45: 错误:‘stoi’在此作用域中尚未声明
value = stoi(picknumber(m_cmdstr[ii])); // stoi有异常,需要处理异常。不提取符号 + -
^
…/_public.cpp: 在成员函数‘bool idc::ccmdstr::getvalue(int, long int&) const’中:
…/_public.cpp:377:51: 错误:‘stol’在此作用域中尚未声明
value = stol(picknumber(m_cmdstr[ii],true)); // stol有异常,需要处理异常。
^
…/_public.cpp: 在成员函数‘bool idc::ccmdstr::getvalue(int, long unsigned int&) const’中:
…/_public.cpp:393:47: 错误:‘stoul’在此作用域中尚未声明
value = stoul(picknumber(m_cmdstr[ii])); // stoul有异常,需要处理异常。不提取符号 + -
^
…/_public.cpp: 在成员函数‘bool idc::ccmdstr::getvalue(int, double&) const’中:
…/_public.cpp:409:56: 错误:‘stod’在此作用域中尚未声明
value = stod(picknumber(m_cmdstr[ii],true,true)); // stod有异常,需要处理异常。提取符号和小数点。
^
…/_public.cpp: 在成员函数‘bool idc::ccmdstr::getvalue(int, float&) const’中:
…/_public.cpp:425:56: 错误:‘stof’在此作用域中尚未声明
value = stof(picknumber(m_cmdstr[ii],true,true)); // stof有异常,需要处理异常。提取符号和小数点。
^
…/_public.cpp: 在函数‘bool idc::getxmlbuffer(const string&, const string&, char*, int)’中:
…/_public.cpp:485:16: 错误:‘nullptr’在此作用域中尚未声明
if (valuenullptr) return false;
^
…/_public.cpp: 在函数‘bool idc::getxmlbuffer(const string&, const string&, int&)’中:
…/_public.cpp:527:41: 错误:‘stoi’在此作用域中尚未声明
value = stoi(picknumber(str,true)); // stoi有异常,需要处理异常。
^
…/_public.cpp: 在函数‘bool idc::getxmlbuffer(const string&, const string&, unsigned int&)’中:
…/_public.cpp:545:36: 错误:‘stoi’在此作用域中尚未声明
value = stoi(picknumber(str)); // stoi有异常,需要处理异常。不提取符号 + -
^
…/_public.cpp: 在函数‘bool idc::getxmlbuffer(const string&, const string&, long int&)’中:
…/_public.cpp:563:42: 错误:‘stol’在此作用域中尚未声明
value = stol(picknumber(str,true)); // stol有异常,需要处理异常。
^
…/_public.cpp: 在函数‘bool idc::getxmlbuffer(const string&, const string&, long unsigned int&)’中:
…/_public.cpp:581:38: 错误:‘stoul’在此作用域中尚未声明
value = stoul(picknumber(str)); // stoul有异常,需要处理异常。不提取符号 + -
^
…/_public.cpp: 在函数‘bool idc::getxmlbuffer(const string&, const string&, double&)’中:
…/_public.cpp:599:47: 错误:‘stod’在此作用域中尚未声明
value = stod(picknumber(str,true,true)); // stod有异常,需要处理异常。提取符号和小数点。
^
…/_public.cpp: 在函数‘bool idc::getxmlbuffer(const string&, const string&, float&)’中:
…/_public.cpp:617:47: 错误:‘stof’在此作用域中尚未声明
value = stof(picknumber(str,true,true)); // stof有异常,需要处理异常。提取符号和小数点。
^
…/_public.cpp: 在函数‘char* idc::timetostr(time_t, char*, const string&)’中:
…/_public.cpp:726:18: 错误:‘nullptr’在此作用域中尚未声明
if (strtimenullptr) return nullptr; // 判断空指针。
^
…/_public.cpp: 在函数‘char* idc::ltime(char*, const string&, int)’中:
…/_public.cpp:757:18: 错误:‘nullptr’在此作用域中尚未声明
if (strtimenullptr) return nullptr; // 判断空指针。
^
…/_public.cpp: 在成员函数‘bool idc::clogfile::open(const string&, std::ios_base::openmode, bool, bool)’中:
…/_public.cpp:790:32: 错误:对‘std::basic_ofstream::open(std::string&, std::ios_base::openmode&)’的调用没有匹配的函数
fout.open(m_filename,m_mode); // 打开日志文件。
^
…/_public.cpp:790:32: 附注:备选是:
In file included from …/_cmpublic.h:46:0,
from …/_public.h:8,
from …/_public.cpp:6:
/usr/include/c++/4.8.2/fstream:713:7: 附注:void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]
open(const char* __s,
^
/usr/include/c++/4.8.2/fstream:713:7: 附注: no known conversion for argument 1 from ‘std::string {aka std::basic_string}’ to ‘const char*’
…/_public.cpp: 在成员函数‘bool idc::clogfile::backup()’中:
…/_public.cpp:816:36: 错误:对‘std::basic_ofstream::open(std::string&, std::ios_base::openmode&)’的调用没有匹配的函数
fout.open(m_filename,m_mode); // 重新打开当前日志文件。
^
…/_public.cpp:816:36: 附注:备选是:
In file included from …/_cmpublic.h:46:0,
from …/_public.h:8,
from …/_public.cpp:6:
/usr/include/c++/4.8.2/fstream:713:7: 附注:void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]
open(const char* __s,
^
/usr/include/c++/4.8.2/fstream:713:7: 附注: no known conversion for argument 1 from ‘std::string {aka std::basic_string}’ to ‘const char*’
…/_public.cpp: 在成员函数‘bool idc::cifile::open(const string&, std::ios_base::openmode)’中:
…/_public.cpp:835:29: 错误:对‘std::basic_ifstream::open(std::string&, const openmode&)’的调用没有匹配的函数
fin.open(m_filename,mode);
^
…/_public.cpp:835:29: 附注:备选是:
In file included from …/_cmpublic.h:46:0,
from …/_public.h:8,
from …/_public.cpp:6:
/usr/include/c++/4.8.2/fstream:538:7: 附注:void std::basic_ifstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]
open(const char* __s, ios_base::openmode __mode = ios_base::in)
^
/usr/include/c++/4.8.2/fstream:538:7: 附注: no known conversion for argument 1 from ‘std::string {aka std::basic_string}’ to ‘const char*’
…/_public.cpp: 在成员函数‘bool idc::cofile::open(const string&, bool, std::ios_base::openmode, bool)’中:
…/_public.cpp:906:37: 错误:对‘std::basic_ofstream::open(std::string&, const openmode&)’的调用没有匹配的函数
fout.open(m_filenametmp,mode);
^
…/_public.cpp:906:37: 附注:备选是:
In file included from …/_cmpublic.h:46:0,
from …/_public.h:8,
from …/_public.cpp:6:
/usr/include/c++/4.8.2/fstream:713:7: 附注:void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]
open(const char* __s,
^
/usr/include/c++/4.8.2/fstream:713:7: 附注: no known conversion for argument 1 from ‘std::string {aka std::basic_string}’ to ‘const char*’
…/_public.cpp:911:34: 错误:对‘std::basic_ofstream::open(std::string&, const openmode&)’的调用没有匹配的函数
fout.open(m_filename,mode);
^
…/_public.cpp:911:34: 附注:备选是:
In file included from …/_cmpublic.h:46:0,
from …/_public.h:8,
from …/_public.cpp:6:
/usr/include/c++/4.8.2/fstream:713:7: 附注:void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]
open(const char* __s,
^
/usr/include/c++/4.8.2/fstream:713:7: 附注: no known conversion for argument 1 from ‘std::string {aka std::basic_string}’ to ‘const char*’
…/_public.cpp: 在函数‘time_t idc::strtotime(const string&)’中:
…/_public.cpp:1033:33: 错误:‘stoi’在此作用域中尚未声明
sttm.tm_year = stoi(yyyy) - 1900;
^
…/_public.cpp: 在函数‘bool idc::addtime(const string&, char*, int, const string&)’中:
…/_public.cpp:1066:20: 错误:‘nullptr’在此作用域中尚未声明
if (out_stimenullptr) return false; // 判断空指针。
^
…/_public.cpp: 在成员函数‘bool idc::cdir::_opendir(const string&, const string&, int, bool)’中:
…/_public.cpp:1137:46: 错误:‘nullptr’在此作用域中尚未声明
if ( (dir=::opendir(dirname.c_str())) == nullptr ) return false; // opendir与库函数重名,需要加::
^
…/_public.cpp:1172:34: 错误:‘move’不是‘std’的成员
m_filelist.push_back(std::move(strffilename));
^
…/_public.cpp: 在成员函数‘double idc::ctimer::elapsed()’中:
…/_public.cpp:1615:27: 错误:‘stod’在此作用域中尚未声明
double dstart=stod(str); // 把计时开始的时间点转换为double。
^
…/_public.cpp: 在成员函数‘bool idc::cpactive::addpinfo(int, const string&, idc::clogfile*)’中:
…/_public.cpp:1640:22: 错误:‘nullptr’在此作用域中尚未声明
if (logfile!=nullptr) logfile->write(“创建/获取共享内存(%x)失败。\n”,SHMKEYP);
^
…/_public.cpp:1672:22: 错误:‘nullptr’在此作用域中尚未声明
if (logfile!=nullptr) logfile->write(“创建/获取信号量(%x)失败。\n”,SEMKEYP);
^
make: *** [demo10] 错误 1