Unable To TSInstall norg due to c++14 requirement Centos 7 #709
rquintana2008
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am having trouble on my old work system getting treesitter norg to compile, please see the following errors. Does anyone have any ideas on how to compile this for an older system? Are there any other alternative compilers I can install locally (no sudo) to enable norg to compile?
Downloading tree-sitter-norg... Creating temporary directory Extracting tree-sitter-norg... Compiling... cc1plus: warning: command line option ‘-std=c99’ is valid for C/ObjC but not for C++ [enabled by default] In file included from /usr/include/c++/4.8.2/array:35:0, from src/scanner.cc:2: /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ src/scanner.cc:15:18: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default] enum TokenType : char ^ src/scanner.cc:176:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default] enum class TagType : char ^ src/scanner.cc:176:22: warning: scoped enums only available with -std=c++11 or -std=gnu++11 [enabled by default]gcc --version gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.Beta Was this translation helpful? Give feedback.
All reactions