From: Bradley W. <br...@th...> - 2020-12-01 22:16:37
|
Hi there. I’m a very inexpereinced user of MacPorts and am running into an error attempting to build re2c for Inkscape. Here’s what I’m getting: ^ In file included from src/main.cc:3: In file included from ./src/codegen/code.h:13: In file included from ./src/dfa/tcmd.h:7: In file included from ./src/dfa/tag_history.h:7: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:945:43: error: 'std::__1::map::__base' (aka 'int') is not a class, namespace, or enumeration typedef __map_const_iterator<typename __base::const_iterator> const_... ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:945:51: error: expected a qualified name after 'typename' typedef __map_const_iterator<typename __base::const_iterator> const_... ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:945:51: error: unknown type name 'const_iterator' /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1301:14: error: class member cannot be redeclared iterator erase(iterator __p) {return __tree_.erase(__p.__i_);} ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1299:14: note: previous definition is here iterator erase(const_iterator __p) {return __tree_.erase(__p.__i_);} ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1460:22: error: 'std::__1::map::__base' (aka 'int') is not a class, namespace, or enumeration typedef typename __base::__node __node; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1460:30: error: expected a qualified name after 'typename' typedef typename __base::__node __node; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1460:36: error: expected ';' at end of declaration list typedef typename __base::__node __node; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1461:22: error: 'std::__1::map::__base' (aka 'int') is not a class, namespace, or enumeration typedef typename __base::__node_allocator __node_allocator; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:1461:30: error: expected a qualified name after 'typename' typedef typename __base::__node_allocator __node_allocator; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make[1]: *** [src/main.o] Error 1 make: *** [all] Error 2 ======================== Please advise. And thank you! Brad Ward Bradley K. Ward, PCC (Brad) Certified Coach and Consultant Pronouns: he, him, his [cid:002C3F65-0CD1-47CF-B56B-90CF0044D086] 650 E. Tahquitz Canyon Way, Suite 2 Palm Springs, CA 92262 760-537-1275<tel:7605371275> - voice and text themissioncoach.com<https://themissioncoach.com> - web and blog br...@th...<mailto:br...@th...> - email “We live in a perpetually burning building, and what we must save from it, all the time, is love.” -Tennessee Williams |