Title: Linux, gcc, compiler error · Issue #96 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Linux, gcc, compiler error · Issue #96 · IfcOpenShell/IfcOpenShell
X Title: Linux, gcc, compiler error · Issue #96 · IfcOpenShell/IfcOpenShell
Description: Just tried to compile commit 613 "Do no silently drop invalid faces from IfcConnectedFaceSets" 6953580 on Debian Jessie. I used cmake \ -DOCC_INCLUDE_DIR=/usr/include/oce \ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \ -DPYTHON_LIBRARY=/...
Open Graph Description: Just tried to compile commit 613 "Do no silently drop invalid faces from IfcConnectedFaceSets" 6953580 on Debian Jessie. I used cmake \ -DOCC_INCLUDE_DIR=/usr/include/oce \ -DPYTHON_INCLUDE_DIR=/us...
X Description: Just tried to compile commit 613 "Do no silently drop invalid faces from IfcConnectedFaceSets" 6953580 on Debian Jessie. I used cmake \ -DOCC_INCLUDE_DIR=/usr/include/oce \ -DPYTHON_INCLU...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/96
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Linux, gcc, compiler error","articleBody":"Just tried to compile commit 613 \"Do no silently drop invalid faces from IfcConnectedFaceSets\" 6953580 on Debian Jessie. I used \n\n```\ncmake \\\n-DOCC_INCLUDE_DIR=/usr/include/oce \\\n-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \\\n-DPYTHON_LIBRARY=/usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so \\\n-DUNICODE_SUPPORT=True \\\n-DCOLLADA_SUPPORT=False \\\n-DUSE_IFC4=False \\\n-DBUILD_IFCPYTHON=True \\\n-DBUILD_EXAMPLES=False \\\n../ifcos/cmake/\n```\n\n```\n...\n[ 37%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp.o\nIn file included from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/IfcLogger.h:32:0,\n from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/IfcParse.h:47,\n from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp:34:\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:7342:64: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual IfcUtil::ArgumentType getArgumentType(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:7343:55: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual Type::Enum getArgumentEntity(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:7344:54: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual const char* getArgumentName(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\nIn file included from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/IfcLogger.h:32:0,\n from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/IfcParse.h:47,\n from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp:34:\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:9196:64: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual IfcUtil::ArgumentType getArgumentType(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:9197:55: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual Type::Enum getArgumentEntity(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:9198:54: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual const char* getArgumentName(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\nIn file included from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/IfcLogger.h:32:0,\n from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/IfcParse.h:47,\n from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp:34:\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:10712:64: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual IfcUtil::ArgumentType getArgumentType(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:10713:55: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual Type::Enum getArgumentEntity(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:10714:54: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual const char* getArgumentName(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\nIn file included from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/IfcLogger.h:32:0,\n from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/IfcParse.h:47,\n from /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp:34:\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:12157:64: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual IfcUtil::ArgumentType getArgumentType(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:12158:55: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual Type::Enum getArgumentEntity(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/../ifcparse/../ifcparse/../ifcparse/Ifc2x3.h:12159:54: warning: unused parameter ‘i’ [-Wunused-parameter]\n virtual const char* getArgumentName(unsigned int i) const { throw IfcParse::IfcAttributeOutOfRangeException(\"Argument index out of range\"); }\n ^\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp: In static member function ‘static const string& IfcParse::TokenFunc::asStringRef(const IfcParse::Token&)’:\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp:565:7: error: ‘std::string’ has no member named ‘pop_back’\n str.pop_back();\n\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp: In destructor ‘virtual IfcParse::EntityArgument::~EntityArgument()’:\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp:866:67: warning: deleting object of abstract class type ‘IfcUtil::IfcBaseClass’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]\n EntityArgument::~EntityArgument() { delete entity->entity; delete entity;}\n ^\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp: In member function ‘void IfcParse::IfcFile::removeEntity(IfcUtil::IfcBaseClass*)’:\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp:1455:9: warning: deleting object of abstract class type ‘IfcUtil::IfcBaseClass’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]\n delete entity;\n ^\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp: In destructor ‘IfcParse::IfcFile::~IfcFile()’:\n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp:1493:14: warning: deleting object of abstract class type ‘IfcUtil::IfcBaseClass’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]\n delete it->second;\n ^\nCMakeFiles/IfcParse.dir/build.make:307: recipe for target 'CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp.o' failed\nmake[2]: *** [CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp.o] Error 1\nCMakeFiles/Makefile2:167: recipe for target 'CMakeFiles/IfcParse.dir/all' failed\nmake[1]: *** [CMakeFiles/IfcParse.dir/all] Error 2\nMakefile:117: recipe for target 'all' failed\nmake: *** [all] Error 2\n\n```\n","author":{"url":"https://github.com/berndhahnebach","@type":"Person","name":"berndhahnebach"},"datePublished":"2016-06-21T20:54:03Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/96"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7454ff6e-ef62-6a4f-cbea-dcaf84f0918e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F56:B0736:74EE6F:A5F883:6B0473A9 |
| html-safe-nonce | 2ec9e05f2d9dfb6b3bf7c9c31abfec33d91a81707d856f94e73422d0d9ea52e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjU2OkIwNzM2Ojc0RUU2RjpBNUY4ODM6NkIwNDczQTkiLCJ2aXNpdG9yX2lkIjoiMzE2NjI4NjAwMDE5NjcxMTMzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cb39678aaee979ebe2e6b6844ea73c8b2308b9ec20212a8bb86f7d4846297da4 |
| hovercard-subject-tag | issue:161536937 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/96/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0b362ff934b1ad99cb6e1ed772b22e46af600ab52ec93c89ad87d7be0712f0c4/IfcOpenShell/IfcOpenShell/issues/96 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b362ff934b1ad99cb6e1ed772b22e46af600ab52ec93c89ad87d7be0712f0c4/IfcOpenShell/IfcOpenShell/issues/96 |
| og:image:alt | Just tried to compile commit 613 "Do no silently drop invalid faces from IfcConnectedFaceSets" 6953580 on Debian Jessie. I used cmake \ -DOCC_INCLUDE_DIR=/usr/include/oce \ -DPYTHON_INCLUDE_DIR=/us... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | berndhahnebach |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width