You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 8%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/primitive_validation.cpp.o
[ 8%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/property.cpp.o
[ 8%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/property_collection.cpp.o
/home/joilnen/k3d/k3dsdk/property_collection.cpp: In member function ‘virtual void k3d::property_collection::register_property(k3d::iproperty&)’:
/home/joilnen/k3d/k3dsdk/property_collection.cpp:50:51: error: cannot convert ‘std::vectork3d::iproperty*::iterator’ to ‘const char*’
50 | m_properties.erase(std::remove(m_properties.begin(), m_properties.end(), &Property), m_properties.end());
| ~~~~~~~~~~~~~~~~~~^~
| |
| std::vectork3d::iproperty*::iterator
In file included from /usr/include/c++/10.2.0/cstdio:42,
from /usr/include/c++/10.2.0/ext/string_conversions.h:43,
from /usr/include/c++/10.2.0/bits/basic_string.h:6535,
from /usr/include/c++/10.2.0/string:55,
from /usr/include/c++/10.2.0/bits/locale_classes.h:40,
from /usr/include/c++/10.2.0/bits/ios_base.h:41,
from /usr/include/c++/10.2.0/ios:42,
from /usr/include/c++/10.2.0/ostream:38,
from /usr/include/c++/10.2.0/iostream:39,
from /home/joilnen/k3d/k3dsdk/Half/half.h:89,
from /home/joilnen/k3d/k3dsdk/types.h:28,
from /home/joilnen/k3d/k3dsdk/iproperty.h:29,
from /home/joilnen/k3d/k3dsdk/property_collection.cpp:24:
/usr/include/stdio.h:146:32: note: initializing argument 1 of ‘int remove(const char*)’
146 | extern int remove (const char __filename) __THROW;
| ~~~~~~~~~~~~^~~~~~~~~~
/home/joilnen/k3d/k3dsdk/property_collection.cpp: In member function ‘virtual void k3d::property_collection::register_properties(const properties_t&)’:
/home/joilnen/k3d/k3dsdk/property_collection.cpp:59:52: error: cannot convert ‘std::vectork3d::iproperty*::iterator’ to ‘const char’
59 | m_properties.erase(std::remove(m_properties.begin(), m_properties.end(), property), m_properties.end());
| ~~~~~~~~~~~~~~~~~~^~
| |
| std::vectork3d::iproperty*::iterator
In file included from /usr/include/c++/10.2.0/cstdio:42,
from /usr/include/c++/10.2.0/ext/string_conversions.h:43,
from /usr/include/c++/10.2.0/bits/basic_string.h:6535,
from /usr/include/c++/10.2.0/string:55,
from /usr/include/c++/10.2.0/bits/locale_classes.h:40,
from /usr/include/c++/10.2.0/bits/ios_base.h:41,
from /usr/include/c++/10.2.0/ios:42,
from /usr/include/c++/10.2.0/ostream:38,
from /usr/include/c++/10.2.0/iostream:39,
from /home/joilnen/k3d/k3dsdk/Half/half.h:89,
from /home/joilnen/k3d/k3dsdk/types.h:28,
from /home/joilnen/k3d/k3dsdk/iproperty.h:29,
from /home/joilnen/k3d/k3dsdk/property_collection.cpp:24:
/usr/include/stdio.h:146:32: note: initializing argument 1 of ‘int remove(const char)’
146 | extern int remove (const char __filename) __THROW;
| ~~~~~~~~~~~~^~~~~~~~~~
/home/joilnen/k3d/k3dsdk/property_collection.cpp:62:51: error: cannot convert ‘std::vectork3d::iproperty*::iterator’ to ‘const char’
62 | m_properties.erase(std::remove(m_properties.begin(), m_properties.end(), static_cast<iproperty*>(0)), m_properties.end());
| ~~~~~~~~~~~~~~~~~~^~
| |
| std::vectork3d::iproperty*::iterator
In file included from /usr/include/c++/10.2.0/cstdio:42,
from /usr/include/c++/10.2.0/ext/string_conversions.h:43,
from /usr/include/c++/10.2.0/bits/basic_string.h:6535,
from /usr/include/c++/10.2.0/string:55,
from /usr/include/c++/10.2.0/bits/locale_classes.h:40,
from /usr/include/c++/10.2.0/bits/ios_base.h:41,
from /usr/include/c++/10.2.0/ios:42,
from /usr/include/c++/10.2.0/ostream:38,
from /usr/include/c++/10.2.0/iostream:39,
from /home/joilnen/k3d/k3dsdk/Half/half.h:89,
from /home/joilnen/k3d/k3dsdk/types.h:28,
from /home/joilnen/k3d/k3dsdk/iproperty.h:29,
from /home/joilnen/k3d/k3dsdk/property_collection.cpp:24:
/usr/include/stdio.h:146:32: note: initializing argument 1 of ‘int remove(const char*)’
146 | extern int remove (const char __filename) __THROW;
| ~~~~~~~~~~~~^~~~~~~~~~
/home/joilnen/k3d/k3dsdk/property_collection.cpp: In member function ‘virtual void k3d::property_collection::unregister_property(k3d::iproperty&)’:
/home/joilnen/k3d/k3dsdk/property_collection.cpp:69:51: error: cannot convert ‘std::vectork3d::iproperty*::iterator’ to ‘const char’
69 | m_properties.erase(std::remove(m_properties.begin(), m_properties.end(), &Property), m_properties.end());
| ~~~~~~~~~~~~~~~~~~^~
| |
| std::vectork3d::iproperty*::iterator
In file included from /usr/include/c++/10.2.0/cstdio:42,
from /usr/include/c++/10.2.0/ext/string_conversions.h:43,
from /usr/include/c++/10.2.0/bits/basic_string.h:6535,
from /usr/include/c++/10.2.0/string:55,
from /usr/include/c++/10.2.0/bits/locale_classes.h:40,
from /usr/include/c++/10.2.0/bits/ios_base.h:41,
from /usr/include/c++/10.2.0/ios:42,
from /usr/include/c++/10.2.0/ostream:38,
from /usr/include/c++/10.2.0/iostream:39,
from /home/joilnen/k3d/k3dsdk/Half/half.h:89,
from /home/joilnen/k3d/k3dsdk/types.h:28,
from /home/joilnen/k3d/k3dsdk/iproperty.h:29,
from /home/joilnen/k3d/k3dsdk/property_collection.cpp:24:
/usr/include/stdio.h:146:32: note: initializing argument 1 of ‘int remove(const char*)’
146 | extern int remove (const char __filename) __THROW;
| ~~~~~~~~~~~~^~~~~~~~~~
/home/joilnen/k3d/k3dsdk/property_collection.cpp: In member function ‘virtual void k3d::property_collection::unregister_properties(const properties_t&)’:
/home/joilnen/k3d/k3dsdk/property_collection.cpp:76:52: error: cannot convert ‘std::vectork3d::iproperty*::iterator’ to ‘const char’
76 | m_properties.erase(std::remove(m_properties.begin(), m_properties.end(), property), m_properties.end());
| ~~~~~~~~~~~~~~~~~~^~
| |
| std::vectork3d::iproperty*::iterator
In file included from /usr/include/c++/10.2.0/cstdio:42,
from /usr/include/c++/10.2.0/ext/string_conversions.h:43,
from /usr/include/c++/10.2.0/bits/basic_string.h:6535,
from /usr/include/c++/10.2.0/string:55,
from /usr/include/c++/10.2.0/bits/locale_classes.h:40,
from /usr/include/c++/10.2.0/bits/ios_base.h:41,
from /usr/include/c++/10.2.0/ios:42,
from /usr/include/c++/10.2.0/ostream:38,
from /usr/include/c++/10.2.0/iostream:39,
from /home/joilnen/k3d/k3dsdk/Half/half.h:89,
from /home/joilnen/k3d/k3dsdk/types.h:28,
from /home/joilnen/k3d/k3dsdk/iproperty.h:29,
from /home/joilnen/k3d/k3dsdk/property_collection.cpp:24:
/usr/include/stdio.h:146:32: note: initializing argument 1 of ‘int remove(const char)’
146 | extern int remove (const char *__filename) __THROW;
| ~~~~~~~~~~~~^~~~~~~~~~
make[2]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/build.make:1057: k3dsdk/CMakeFiles/k3dsdk.dir/property_collection.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:3638: k3dsdk/CMakeFiles/k3dsdk.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
The text was updated successfully, but these errors were encountered:
I got this compiling error in Linux
c++ (GCC) 10.2.0
libc 2.33
[ 8%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/primitive_validation.cpp.o
[ 8%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/property.cpp.o
[ 8%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/property_collection.cpp.o
/home/joilnen/k3d/k3dsdk/property_collection.cpp: In member function ‘virtual void k3d::property_collection::register_property(k3d::iproperty&)’:
/home/joilnen/k3d/k3dsdk/property_collection.cpp:50:51: error: cannot convert ‘std::vectork3d::iproperty*::iterator’ to ‘const char*’
50 | m_properties.erase(std::remove(m_properties.begin(), m_properties.end(), &Property), m_properties.end());
| ~~~~~~~~~~~~~~~~~~^~
| |
| std::vectork3d::iproperty*::iterator
In file included from /usr/include/c++/10.2.0/cstdio:42,
from /usr/include/c++/10.2.0/ext/string_conversions.h:43,
from /usr/include/c++/10.2.0/bits/basic_string.h:6535,
from /usr/include/c++/10.2.0/string:55,
from /usr/include/c++/10.2.0/bits/locale_classes.h:40,
from /usr/include/c++/10.2.0/bits/ios_base.h:41,
from /usr/include/c++/10.2.0/ios:42,
from /usr/include/c++/10.2.0/ostream:38,
from /usr/include/c++/10.2.0/iostream:39,
from /home/joilnen/k3d/k3dsdk/Half/half.h:89,
from /home/joilnen/k3d/k3dsdk/types.h:28,
from /home/joilnen/k3d/k3dsdk/iproperty.h:29,
from /home/joilnen/k3d/k3dsdk/property_collection.cpp:24:
/usr/include/stdio.h:146:32: note: initializing argument 1 of ‘int remove(const char*)’
146 | extern int remove (const char __filename) __THROW;
| ~~~~~~~~~~~~^~~~~~~~~~
/home/joilnen/k3d/k3dsdk/property_collection.cpp: In member function ‘virtual void k3d::property_collection::register_properties(const properties_t&)’:
/home/joilnen/k3d/k3dsdk/property_collection.cpp:59:52: error: cannot convert ‘std::vectork3d::iproperty*::iterator’ to ‘const char’
59 | m_properties.erase(std::remove(m_properties.begin(), m_properties.end(), property), m_properties.end());
| ~~~~~~~~~~~~~~~~~~^~
| |
| std::vectork3d::iproperty*::iterator
In file included from /usr/include/c++/10.2.0/cstdio:42,
from /usr/include/c++/10.2.0/ext/string_conversions.h:43,
from /usr/include/c++/10.2.0/bits/basic_string.h:6535,
from /usr/include/c++/10.2.0/string:55,
from /usr/include/c++/10.2.0/bits/locale_classes.h:40,
from /usr/include/c++/10.2.0/bits/ios_base.h:41,
from /usr/include/c++/10.2.0/ios:42,
from /usr/include/c++/10.2.0/ostream:38,
from /usr/include/c++/10.2.0/iostream:39,
from /home/joilnen/k3d/k3dsdk/Half/half.h:89,
from /home/joilnen/k3d/k3dsdk/types.h:28,
from /home/joilnen/k3d/k3dsdk/iproperty.h:29,
from /home/joilnen/k3d/k3dsdk/property_collection.cpp:24:
/usr/include/stdio.h:146:32: note: initializing argument 1 of ‘int remove(const char)’
146 | extern int remove (const char __filename) __THROW;
| ~~~~~~~~~~~~^~~~~~~~~~
/home/joilnen/k3d/k3dsdk/property_collection.cpp:62:51: error: cannot convert ‘std::vectork3d::iproperty*::iterator’ to ‘const char’
62 | m_properties.erase(std::remove(m_properties.begin(), m_properties.end(), static_cast<iproperty*>(0)), m_properties.end());
| ~~~~~~~~~~~~~~~~~~^~
| |
| std::vectork3d::iproperty*::iterator
In file included from /usr/include/c++/10.2.0/cstdio:42,
from /usr/include/c++/10.2.0/ext/string_conversions.h:43,
from /usr/include/c++/10.2.0/bits/basic_string.h:6535,
from /usr/include/c++/10.2.0/string:55,
from /usr/include/c++/10.2.0/bits/locale_classes.h:40,
from /usr/include/c++/10.2.0/bits/ios_base.h:41,
from /usr/include/c++/10.2.0/ios:42,
from /usr/include/c++/10.2.0/ostream:38,
from /usr/include/c++/10.2.0/iostream:39,
from /home/joilnen/k3d/k3dsdk/Half/half.h:89,
from /home/joilnen/k3d/k3dsdk/types.h:28,
from /home/joilnen/k3d/k3dsdk/iproperty.h:29,
from /home/joilnen/k3d/k3dsdk/property_collection.cpp:24:
/usr/include/stdio.h:146:32: note: initializing argument 1 of ‘int remove(const char*)’
146 | extern int remove (const char __filename) __THROW;
| ~~~~~~~~~~~~^~~~~~~~~~
/home/joilnen/k3d/k3dsdk/property_collection.cpp: In member function ‘virtual void k3d::property_collection::unregister_property(k3d::iproperty&)’:
/home/joilnen/k3d/k3dsdk/property_collection.cpp:69:51: error: cannot convert ‘std::vectork3d::iproperty*::iterator’ to ‘const char’
69 | m_properties.erase(std::remove(m_properties.begin(), m_properties.end(), &Property), m_properties.end());
| ~~~~~~~~~~~~~~~~~~^~
| |
| std::vectork3d::iproperty*::iterator
In file included from /usr/include/c++/10.2.0/cstdio:42,
from /usr/include/c++/10.2.0/ext/string_conversions.h:43,
from /usr/include/c++/10.2.0/bits/basic_string.h:6535,
from /usr/include/c++/10.2.0/string:55,
from /usr/include/c++/10.2.0/bits/locale_classes.h:40,
from /usr/include/c++/10.2.0/bits/ios_base.h:41,
from /usr/include/c++/10.2.0/ios:42,
from /usr/include/c++/10.2.0/ostream:38,
from /usr/include/c++/10.2.0/iostream:39,
from /home/joilnen/k3d/k3dsdk/Half/half.h:89,
from /home/joilnen/k3d/k3dsdk/types.h:28,
from /home/joilnen/k3d/k3dsdk/iproperty.h:29,
from /home/joilnen/k3d/k3dsdk/property_collection.cpp:24:
/usr/include/stdio.h:146:32: note: initializing argument 1 of ‘int remove(const char*)’
146 | extern int remove (const char __filename) __THROW;
| ~~~~~~~~~~~~^~~~~~~~~~
/home/joilnen/k3d/k3dsdk/property_collection.cpp: In member function ‘virtual void k3d::property_collection::unregister_properties(const properties_t&)’:
/home/joilnen/k3d/k3dsdk/property_collection.cpp:76:52: error: cannot convert ‘std::vectork3d::iproperty*::iterator’ to ‘const char’
76 | m_properties.erase(std::remove(m_properties.begin(), m_properties.end(), property), m_properties.end());
| ~~~~~~~~~~~~~~~~~~^~
| |
| std::vectork3d::iproperty*::iterator
In file included from /usr/include/c++/10.2.0/cstdio:42,
from /usr/include/c++/10.2.0/ext/string_conversions.h:43,
from /usr/include/c++/10.2.0/bits/basic_string.h:6535,
from /usr/include/c++/10.2.0/string:55,
from /usr/include/c++/10.2.0/bits/locale_classes.h:40,
from /usr/include/c++/10.2.0/bits/ios_base.h:41,
from /usr/include/c++/10.2.0/ios:42,
from /usr/include/c++/10.2.0/ostream:38,
from /usr/include/c++/10.2.0/iostream:39,
from /home/joilnen/k3d/k3dsdk/Half/half.h:89,
from /home/joilnen/k3d/k3dsdk/types.h:28,
from /home/joilnen/k3d/k3dsdk/iproperty.h:29,
from /home/joilnen/k3d/k3dsdk/property_collection.cpp:24:
/usr/include/stdio.h:146:32: note: initializing argument 1 of ‘int remove(const char)’
146 | extern int remove (const char *__filename) __THROW;
| ~~~~~~~~~~~~^~~~~~~~~~
make[2]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/build.make:1057: k3dsdk/CMakeFiles/k3dsdk.dir/property_collection.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:3638: k3dsdk/CMakeFiles/k3dsdk.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
The text was updated successfully, but these errors were encountered: