Skip to content

Instantly share code, notes, and snippets.

@elmarsan
Created November 4, 2023 19:42
Show Gist options
  • Save elmarsan/52c21459e5fdbba12f0f7c2a4a3917c1 to your computer and use it in GitHub Desktop.
Save elmarsan/52c21459e5fdbba12f0f7c2a4a3917c1 to your computer and use it in GitHub Desktop.
Jakt build error
FAILED: CMakeFiles/jakt_stage0.dir/bootstrap/stage0/runtime/AK/LexicalPath.cpp.o
/usr/bin/clang++-14 -I/home/elias/projects/jakt/bootstrap/stage0/runtime -std=gnu++20 -Wall -Wextra -Werror -Wno-maybe-uninitialized -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-result -Wno-implicit-fallthrough -Wno-trigraphs -Wno-parentheses-equality -Wno-unqualified-std-cast-call -Wno-user-defined-literals -Wno-literal-suffix -Wno-return-type -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-unused-lambda-capture -Wno-reorder-ctor -Wno-dangling-reference -Wno-type-limits -Wno-unknown-attributes -fno-exceptions -fdiagnostics-color=always -MD -MT CMakeFiles/jakt_stage0.dir/bootstrap/stage0/runtime/AK/LexicalPath.cpp.o -MF CMakeFiles/jakt_stage0.dir/bootstrap/stage0/runtime/AK/LexicalPath.cpp.o.d -o CMakeFiles/jakt_stage0.dir/bootstrap/stage0/runtime/AK/LexicalPath.cpp.o -c /home/elias/projects/jakt/bootstrap/stage0/runtime/AK/LexicalPath.cpp
In file included from /home/elias/projects/jakt/bootstrap/stage0/runtime/AK/LexicalPath.cpp:8:
In file included from /home/elias/projects/jakt/bootstrap/stage0/runtime/AK/LexicalPath.h:10:
In file included from /home/elias/projects/jakt/bootstrap/stage0/runtime/AK/DeprecatedString.h:12:
/home/elias/projects/jakt/bootstrap/stage0/runtime/AK/StringBuilder.h:89:105: error: cannot take address of consteval function 'operator""sv' outside of an immediate invocation
void join(SeparatorType const& separator, CollectionType const& collection, StringView fmtstr = "{}"sv)
^
/home/elias/projects/jakt/bootstrap/stage0/runtime/AK/StringView.h:391:77: note: declared here
[[nodiscard]] ALWAYS_INLINE AK_STRING_VIEW_LITERAL_CONSTEVAL AK::StringView operator""sv(char const* cstring, size_t length)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment