我在2.50GHz @IntelXeon®Platinum 8180 CPU上使用的是g ++版本8.1.1和Fedora版本18
./src/trackers/biptr.hpp: In member function ‘bool FatPtr<T>::WideCAS(fat_pointer_rec<T>&, fat_pointer_rec<T>&, std::memory_order) [with T = SortedUnorderedMapRange<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >::Node]’:
./src/trackers/biptr.hpp:55:87: error: impossible constraint in ‘asm’
:"a" (old_value.ptr), "d" (old_value.tag), "b" (new_value.ptr), "c" (new_value.tag));
^
./src/trackers/biptr.hpp:55:87: error: non-memory input 2 must stay in memory
./src/trackers/biptr.hpp: In member function ‘bool FatPtr<T>::WideCAS(fat_pointer_rec<T>&, fat_pointer_rec<T>&, std::memory_order) [with T = NatarajanTreeRangeTracker<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >::Node]’:
./src/trackers/biptr.hpp:55:87: error: impossible constraint in ‘asm’
./src/trackers/biptr.hpp:55:87: error: non-memory input 2 must stay in memory
make[1]: *** [/home/ajit/research/Interval-Based-Reclamation/Makefile:457: obj/release/src/main.o] Error 1
make[1]: Leaving directory '/home/ajit/research/Interval-Based-Reclamation'
make: *** [Makefile:337: default] Error 2
我遇到以下错误。
var importedData: [your-structure] = []
有什么解决方法吗?