Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ make
- CXX ../../src/AvstpWrapper.lo
- CXX ../../src/main.lo
- In file included from ./../../src/conc/Interlocked.h:132,
- from ./../../src/conc/AtomicPtr.hpp:27,
- from ./../../src/conc/AtomicPtr.h:123,
- from ./../../src/conc/CellPool.h:30,
- from ./../../src/conc/ObjPool.h:44,
- from ../../src/fmtc/Bitdepth.h:30,
- from ../../src/main.cpp:18:
- ./../../src/conc/Interlocked.hpp: In static member function 'static void* conc::Interlocked::swap(void* volatile&, void*)':
- ./../../src/conc/Interlocked.hpp:354:3: error: no matching function for call to 'swap(volatile IntPtr&, conc::Interlocked::IntPtr)'
- 354 | )
- | ^
- ./../../src/conc/Interlocked.hpp:50:9: note: candidate: 'static int32_t conc::Interlocked::swap(volatile int32_t&, int32_t)' <near match>
- 50 | int32_t Interlocked::swap (int32_t volatile &dest, int32_t excg)
- | ^~~~~~~~~~~
- ./../../src/conc/Interlocked.hpp:50:9: note: conversion of argument 1 would be ill-formed:
- ./../../src/conc/Interlocked.hpp:352:4: error: cannot bind non-const lvalue reference of type 'volatile int32_t&' {aka 'volatile int&'} to an rvalue of type 'int32_t' {aka 'int'}
- 352 | *reinterpret_cast <IntPtr volatile *> (&dest_ptr),
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./../../src/conc/Interlocked.hpp:124:9: note: candidate: 'static int64_t conc::Interlocked::swap(volatile int64_t&, int64_t)' <near match>
- 124 | int64_t Interlocked::swap (int64_t volatile &dest, int64_t excg)
- | ^~~~~~~~~~~
- ./../../src/conc/Interlocked.hpp:124:9: note: conversion of argument 1 would be ill-formed:
- ./../../src/conc/Interlocked.hpp:352:4: error: cannot bind non-const lvalue reference of type 'volatile int64_t&' {aka 'volatile long long int&'} to an rvalue of type 'int64_t' {aka 'long long int'}
- 352 | *reinterpret_cast <IntPtr volatile *> (&dest_ptr),
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./../../src/conc/Interlocked.hpp:348:8: note: candidate: 'static void* conc::Interlocked::swap(void* volatile&, void*)' <near match>
- 348 | void * Interlocked::swap (void * volatile &dest_ptr, void *excg_ptr)
- | ^~~~~~~~~~~
- ./../../src/conc/Interlocked.hpp:348:8: note: conversion of argument 2 would be ill-formed:
- ./../../src/conc/Interlocked.hpp:353:4: error: invalid conversion from 'conc::Interlocked::IntPtr' {aka 'long int'} to 'void*' [-fpermissive]
- 353 | reinterpret_cast <IntPtr> (excg_ptr)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | conc::Interlocked::IntPtr {aka long int}
- ./../../src/conc/Interlocked.hpp: In static member function 'static void* conc::Interlocked::cas(void* volatile&, void*, void*)':
- ./../../src/conc/Interlocked.hpp:367:3: error: no matching function for call to 'cas(volatile IntPtr&, conc::Interlocked::IntPtr, conc::Interlocked::IntPtr)'
- 367 | )
- | ^
- ./../../src/conc/Interlocked.hpp:83:9: note: candidate: 'static int32_t conc::Interlocked::cas(volatile int32_t&, int32_t, int32_t)' <near match>
- 83 | int32_t Interlocked::cas (int32_t volatile &dest, int32_t excg, int32_t comp)
- | ^~~~~~~~~~~
- ./../../src/conc/Interlocked.hpp:83:9: note: conversion of argument 1 would be ill-formed:
- ./../../src/conc/Interlocked.hpp:364:4: error: cannot bind non-const lvalue reference of type 'volatile int32_t&' {aka 'volatile int&'} to an rvalue of type 'int32_t' {aka 'int'}
- 364 | *reinterpret_cast <IntPtr volatile *> (&dest_ptr),
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./../../src/conc/Interlocked.hpp:181:9: note: candidate: 'static int64_t conc::Interlocked::cas(volatile int64_t&, int64_t, int64_t)' <near match>
- 181 | int64_t Interlocked::cas (int64_t volatile &dest, int64_t excg, int64_t comp)
- | ^~~~~~~~~~~
- ./../../src/conc/Interlocked.hpp:181:9: note: conversion of argument 1 would be ill-formed:
- ./../../src/conc/Interlocked.hpp:364:4: error: cannot bind non-const lvalue reference of type 'volatile int64_t&' {aka 'volatile long long int&'} to an rvalue of type 'int64_t' {aka 'long long int'}
- 364 | *reinterpret_cast <IntPtr volatile *> (&dest_ptr),
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./../../src/conc/Interlocked.hpp:360:8: note: candidate: 'static void* conc::Interlocked::cas(void* volatile&, void*, void*)' <near match>
- 360 | void * Interlocked::cas (void * volatile &dest_ptr, void *excg_ptr, void *comp_ptr)
- | ^~~~~~~~~~~
- ./../../src/conc/Interlocked.hpp:360:8: note: conversion of argument 3 would be ill-formed:
- ./../../src/conc/Interlocked.hpp:366:4: error: invalid conversion from 'conc::Interlocked::IntPtr' {aka 'long int'} to 'void*' [-fpermissive]
- 366 | reinterpret_cast <IntPtr> (comp_ptr)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | conc::Interlocked::IntPtr {aka long int}
- make: *** [../../src/main.lo] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement