Clemapfel / jluna

Julia Wrapper for C++ with Focus on Safety, Elegance, and Ease of Use
https://clemens-cords.com/jluna
MIT License
252 stars 13 forks source link

Issues compiling on Mac #55

Open martinlwtzky opened 1 year ago

martinlwtzky commented 1 year ago

Hi, when trying to get jluna to make on Mac, I'm getting the following errors: 2 of those:

git/jluna/include/unsafe_utilities.hpp:16:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'?
    unsafe::Symbol* operator""_sym(const char*, uint64_t);
                                                ^~~~~~~~

and another few of those:

git/jluna/.src/unsafe_utilities.inl:34:84: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template
        static unsafe::Function* expr = unsafe::get_function(jl_base_module, "Expr"_sym);
                                                                                   ^

My environment:

I'd appreciate any hint where to look at!

Clemapfel commented 1 year ago

I this a M1/M2 mac or a 32-bit architecture? Also could you try compiling with g++ instead of clang to see if that works maybe?

I don't have a mac to test but you could try to fork jluna and replace the uint64_t with size_t. The error says that it expects the signature to be (const char*, unsigned long) but it is declared as (const char*, unsigned long long). The last patch replaced all occurrences of size_t with uint64_t since size_t is apparently redefined on the newer apple architecture.

Clemapfel commented 1 year ago

I did the last part for you, please clone this branch and rebuild:

https://github.com/Clemapfel/jluna
cd jluna
git fetch
git branch checkout string_literal_issue
mkdir build; cd build
cmake .. 
make install -j 8

The last line may require sudo so it can deposit the shared library in the default location

ggkountouras commented 7 months ago

I'm getting the same issue on the string_literal_issue branch

AppleClang 15.0.0.15000309 cmake version 3.25.2 julia-1.10.2+0.aarch64.apple.darwin14 macOS Sonoma Beta 14.5 M1 Max

terasakisatoshi commented 6 months ago

I'm using macbook (intel cpu)

julia> versioninfo()
Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (x86_64-apple-darwin22.4.0)
  CPU: 16 × Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
Environment:
  JULIA_EDITOR = subl
  JULIA_PROJECT = @.
  JULIA_PKG_USE_CLI_GIT = true

Here is what I did:

git clone https://github.com/Clemapfel/jluna
cd jluna
git fetch
git branch checkout string_literal_issue
mkdir build; cd build
cmake ..
make install -j 8
Here is what I got ```console git clone https://github.com/Clemapfel/jluna cd jluna git fetch git branch checkout string_literal_issue mkdir build; cd build cmake .. make install -j 8 ``` I got: ```sh Cloning into 'jluna'... remote: Enumerating objects: 4978, done. remote: Counting objects: 100% (1501/1501), done. remote: Compressing objects: 100% (516/516), done. remote: Total 4978 (delta 999), reused 1340 (delta 960), pack-reused 3477 Receiving objects: 100% (4978/4978), 1.38 MiB | 7.27 MiB/s, done. Resolving deltas: 100% (3483/3483), done. fatal: not a valid object name: 'string_literal_issue' -- The CXX compiler identification is AppleClang 15.0.0.15000309 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Julia: /Users/atelier/.julia/juliaup/julia-1.10.3+0.x64.apple.darwin14/lib/libjulia.dylib (found suitable version "1.10.3", minimum required is "1.7.0") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done (1.6s) -- Generating done (0.2s) -- Build files have been written to: /Users/atelier/tmp/jluna/build [ 7%] Building CXX object CMakeFiles/jluna.dir/.src/exceptions.cpp.o [ 15%] Building CXX object CMakeFiles/jluna.dir/.src/unsafe_utilities.cpp.o [ 23%] Building CXX object CMakeFiles/jluna.dir/.src/module.cpp.o [ 30%] Building CXX object CMakeFiles/jluna.dir/.src/type.cpp.o [ 38%] Building CXX object CMakeFiles/jluna.dir/.src/symbol.cpp.o [ 46%] Building CXX object CMakeFiles/jluna.dir/.src/generator_expression.cpp.o [ 61%] Building CXX object CMakeFiles/jluna.dir/.src/safe_utilities.cpp.o [ 61%] Building CXX object CMakeFiles/jluna.dir/.src/proxy.cpp.o In file included from /Users/atelier/tmp/jluna/.src/safe_utilities.cpp:6: In file included from /Users/atelier/tmp/jluna/include/safe_utilities.hpp:8: /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:16:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Symbol* operator""_sym(const char*, uint64_t); ^~~~~~~~ /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:20:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Value* operator""_eval(const char*, uint64_t); ^~~~~~~~ In file included from /Users/atelier/tmp/jluna/.src/safe_utilities.cpp:6: In file included from /Users/atelier/tmp/jluna/include/safe_utilities.hpp:8: In file included from /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:272: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:34:84: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* expr = unsafe::get_function(jl_base_module, "Expr"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:84:104: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* jluna_add_to_heap = get_function(jl_main_module, "__jluna_add_to_heap"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/exceptions.cpp:7: /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:16:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Symbol* operator""_sym(const char*, uint64_t); ^~~~~~~~ /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:20:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Value* operator""_eval(const char*, uint64_t); ^~~~~~~~ In file included from /Users/atelier/tmp/jluna/.src/exceptions.cpp:7: In file included from /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:272: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:34:84: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* expr = unsafe::get_function(jl_base_module, "Expr"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:84:104: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* jluna_add_to_heap = get_function(jl_main_module, "__jluna_add_to_heap"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/unsafe_utilities.cpp:6: /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:16:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Symbol* operator""_sym(const char*, uint64_t); ^~~~~~~~ /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:20:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Value* operator""_eval(const char*, uint64_t); ^~~~~~~~ In file included from /Users/atelier/tmp/jluna/.src/unsafe_utilities.cpp:6: In file included from /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:272: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:34:84: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* expr = unsafe::get_function(jl_base_module, "Expr"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:84:104: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* jluna_add_to_heap = get_function(jl_main_module, "__jluna_add_to_heap"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/module.cpp:6: In file included from /Users/atelier/tmp/jluna/include/module.hpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:10: /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:16:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Symbol* operator""_sym(const char*, uint64_t); ^~~~~~~~ /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:20:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Value* operator""_eval(const char*, uint64_t); ^~~~~~~~ In file included from /Users/atelier/tmp/jluna/.src/module.cpp:6: In file included from /Users/atelier/tmp/jluna/include/module.hpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:10: In file included from /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:272: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:34:84: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* expr = unsafe::get_function(jl_base_module, "Expr"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:84:104: error: In file included from no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template /Users/atelier/tmp/jluna/.src/symbol.cppIn file included from :/Users/atelier/tmp/jluna/.src/unsafe_utilities.inl/Users/atelier/tmp/jluna/.src/unsafe_utilities.inl6:/Users/atelier/tmp/jluna/.src/generator_expression.cpp:6 static unsafe::Function* jluna_add_to_heap = get_function(jl_main_module, "__jluna_add_to_heap"_sym);: : 161/Users/atelier/tmp/jluna/.src/unsafe_utilities.inl ^:In file included from In file included from :/Users/atelier/tmp/jluna/include/symbol.hpp/Users/atelier/tmp/jluna/include/generator_expression.hpp77161:::9: 8: In file included from : 161/Users/atelier/tmp/jluna/include/proxy.hpp:::error: In file included from 1577 :/Users/atelier/tmp/jluna/include/proxy.hpp77: : In file included from :15no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template: In file included from /Users/atelier/tmp/jluna/include/box.hpp/Users/atelier/tmp/jluna/include/box.hpp:error: :193193: : In file included from In file included from /Users/atelier/tmp/jluna/.src/box.inl/Users/atelier/tmp/jluna/.src/box.inl:6error: : static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template6: ^In file included from : /Users/atelier/tmp/jluna/.src/common.hpp:no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template10: In file included from /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:16:49: static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); /Users/atelier/tmp/jluna/.src/common.hpp:10 : static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym);error: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl : ^161 ^:108 invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'?/Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:: 16 :49error: : no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator templateerror: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'?161: 108: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:161 static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym);error: : 108: ^no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template error: unsafe::Symbol* operator""_sym(const char*, uint64_t);no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template unsafe::Symbol* operator""_sym(const char*, uint64_t); ^~~~~~~~ ^~~~~~~~ static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:20: ^49: /Users/atelier/tmp/jluna/include/unsafe_utilities.hpperror: :20:invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'?49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Value* operator""_eval(const char*, uint64_t); ^~~~~~~~ unsafe::Value* operator""_eval(const char*, uint64_t); ^~~~~~~~ In file included from /Users/atelier/tmp/jluna/.src/generator_expression.cpp:6: In file included from /Users/atelier/tmp/jluna/include/generator_expression.hpp:8: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:10: In file included from /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:272: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:34:84: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* expr = unsafe::get_function(jl_base_module, "Expr"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/symbol.cpp:6: In file included from /Users/atelier/tmp/jluna/include/symbol.hpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:10: In file included from /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:272: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:34:/Users/atelier/tmp/jluna/.src/unsafe_utilities.cpp84::36 :81:error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator templateerror: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* base_eval = get_function(jl_base_module, "eval"_sym); static unsafe::Function* expr = unsafe::get_function(jl_base_module, "Expr"_sym); ^ ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:84:104: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* jluna_add_to_heap = get_function(jl_main_module, "__jluna_add_to_heap"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:84:104: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* jluna_add_to_heap = get_function(jl_main_module, "__jluna_add_to_heap"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.cpp:65:84: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* getfield = get_function(jl_base_module, "getfield"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.cpp:74:85: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* setfield = get_function(jl_base_module, "setfield!"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.cpp:84:102: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Value* delete_from_heap = get_value(jl_main_module, "__jluna_delete_from_heap"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.cpp:187:78: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* array_value_t = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.cpp:187:109: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* array_value_t = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.cpp:218:78: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* array_value_t = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.cpp:218:109: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* array_value_t = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/proxy.cpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:10: /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:16:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Symbol* operator""_sym(const char*, uint64_t); ^~~~~~~~ /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:20:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Value* operator""_eval(const char*, uint64_t); ^~~~~~~~ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:161:77: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:161:108: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/proxy.cpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:10: In file included from /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:272: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:34:84: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* expr = unsafe::get_function(jl_base_module, "Expr"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:84:104: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* jluna_add_to_heap = get_function(jl_main_module, "__jluna_add_to_heap"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:161:77: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:161:108: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:161:77: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:161:108: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/type.cpp:6: In file included from /Users/atelier/tmp/jluna/include/type.hpp:10: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:10: /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:16:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Symbol* operator""_sym(const char*, uint64_t); ^~~~~~~~ /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:20:49: error: invalid literal operator parameter type 'uint64_t' (aka 'unsigned long long'), did you mean 'unsigned long'? unsafe::Value* operator""_eval(const char*, uint64_t); ^~~~~~~~ In file included from /Users/atelier/tmp/jluna/.src/type.cpp:6: In file included from /Users/atelier/tmp/jluna/include/type.hpp:10: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:10: In file included from /Users/atelier/tmp/jluna/include/unsafe_utilities.hpp:272: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:34:84: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* expr = unsafe::get_function(jl_base_module, "Expr"_sym); ^ 6 errors generated. /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:84:14104: /Users/atelier/tmp/jluna/.src/unsafe_utilities.inlerror: : error161:no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator templates77 generated:. error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static unsafe::Function* jluna_add_to_heap = get_function(jl_main_module, "__jluna_add_to_heap"_sym); ^ static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:161:108: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ make[2]: *** [CMakeFiles/jluna.dir/.src/exceptions.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [CMakeFiles/jluna.dir/.src/unsafe_utilities.cpp.o] Error 1 /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:161:77: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/unsafe_utilities.inl:161:108: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* get_value_type_of_array = get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/safe_utilities.cpp:6: In file included from /Users/atelier/tmp/jluna/include/safe_utilities.hpp:78: /Users/atelier/tmp/jluna/.src/safe_utilities.inl:43:65: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:43:82: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:69:81: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_println = unsafe::get_function(jl_base_module, "println"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:71: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:97: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/module.cpp:6: In file included from /Users/atelier/tmp/jluna/include/module.hpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:11: In file included from /Users/atelier/tmp/jluna/include/safe_utilities.hpp:78: /Users/atelier/tmp/jluna/.src/safe_utilities.inl:43:65: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:43:82: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:69:81: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_println = unsafe::get_function(jl_base_module, "println"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:71: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:97: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/symbol.cpp:6: In file included from /Users/atelier/tmp/jluna/include/symbol.hpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:11: In file included from /Users/atelier/tmp/jluna/include/safe_utilities.hpp:78: /Users/atelier/tmp/jluna/.src/safe_utilities.inl:43:65: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:43:82: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:69:81: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_println = unsafe::get_function(jl_base_module, "println"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:71: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:97: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/module.cpp:6: In file included from /Users/atelier/tmp/jluna/include/module.hpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: /Users/atelier/tmp/jluna/.src/common.hpp:17:78: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* convert = unsafe::get_function(jl_base_module, "convert"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp:23:76: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp:23:107: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/generator_expression.cpp/Users/atelier/tmp/jluna/.src/common.hpp::629: :In file included from 76/Users/atelier/tmp/jluna/include/generator_expression.hpp:: 8: In file included from error: /Users/atelier/tmp/jluna/include/proxy.hpp:15no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from static auto* string = unsafe::get_function(jl_base_module, "string"_sym);/Users/atelier/tmp/jluna/.src/common.hpp :11 ^: In file included from /Users/atelier/tmp/jluna/include/safe_utilities.hpp:78: /Users/atelier/tmp/jluna/.src/safe_utilities.inl:43:65: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:43:82: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:69:81: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_println = unsafe::get_function(jl_base_module, "println"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:71: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:97: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/safe_utilities.cpp:8: In file included from /Users/atelier/tmp/jluna/include/type.hpp:10: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: /Users/atelier/tmp/jluna/.src/common.hpp:17:78: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* convert = unsafe::get_function(jl_base_module, "convert"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/symbol.cpp:6: In file included from /Users/atelier/tmp/jluna/include/symbol.hpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: /Users/atelier/tmp/jluna/.src/common.hpp:17:/Users/atelier/tmp/jluna/.src/common.hpp78::23 :76:error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator templateerror: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* convert = unsafe::get_function(jl_base_module, "convert"_sym); /Users/atelier/tmp/jluna/.src/common.hpp:47In file included from : ^ static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym);76 : /Users/atelier/tmp/jluna/.src/generator_expression.cpp ^:6: error: In file included from /Users/atelier/tmp/jluna/include/generator_expression.hppno matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template:8 : In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: static auto* length = unsafe::get_function(jl_base_module, "length"_sym); /Users/atelier/tmp/jluna/.src/common.hpp: ^17 :78: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* convert = unsafe::get_function(jl_base_module, "convert"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp:23:107: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template /Users/atelier/tmp/jluna/.src/common.hpp:23:76: e static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); rror: ^/Users/atelier/tmp/jluna/.src/common.hpp :53no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template:72 : error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template /Users/atelier/tmp/jluna/.src/common.hpp:23:76 static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym);: ^ static auto* equals = unsafe::get_function(jl_base_module, "=="_sym); error: ^no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template /Users/atelier/tmp/jluna/.src/common.hpp:29:76: error: /Users/atelier/tmp/jluna/.src/common.hpp static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym);: 23no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template ^ :107: error: static auto* string = unsafe::get_function(jl_base_module, "string"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp:23no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template:107 : error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/proxy.cpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym);: 193: ^In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:11: In file included from /Users/atelier/tmp/jluna/include/safe_utilities.hpp:78: /Users/atelier/tmp/jluna/.src/safe_uti/Users/atelier/tmp/jluna/.src/common.hpp:29:76: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template lities.inl:43: static auto* string = unsafe::get_function(jl_base_module, "string"_sym);65 : ^ error: /Users/atelier/tmp/jluna/.src/common.hppno matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template:29 :76: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ static auto* string = unsafe::get_function(jl_base_module, "string"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:43:82: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:69:81: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_println = unsafe::get_function(jl_base_module, "println"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:71: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:97: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp:47:76: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* length = unsafe::get_function(jl_base_module, "length"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp/Users/atelier/tmp/jluna/.src/common.hpp::4753::7672:: error: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator templateno matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* equals = unsafe::get_function(jl_base_module, "=="_sym); static auto* length = unsafe::get_function(jl_base_module, "length"_sym); ^ ^ In file included from /Users/atelier/tmp/jluna/.src/module.cpp:6: In file included from /Users/atelier/tmp/jluna/include/module.hpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: /Users/atelier/tmp/jluna/.src/box.inl:157:69: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym); /Users/atelier/tmp/jluna/.src/common.hpp:47:76: ^ error: /Users/atelier/tmp/jluna/.src/common.hpp:53:/Users/atelier/tmp/jluna/.src/box.inl72::no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template157 : 88:error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* length = unsafe::get_function(jl_base_module, "length"_sym); error: ^ static auto* equals = unsafe::get_function(jl_base_module, "=="_sym);no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template ^ static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp:53:72: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* equals = unsafe::get_function(jl_base_module, "=="_sym); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /Users/atelier/tmp/jluna/.src/proxy.cpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: /Users/atelier/tmp/jluna/.src/common.hpp:17:78: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* convert = unsafe::get_function(jl_base_module, "convert"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/generator_expression.cpp:6: In file included from /Users/atelier/tmp/jluna/include/generator_expression.hpp:8: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: /Users/atelier/tmp/jluna/.src/common.hpp:/Users/atelier/tmp/jluna/.src/box.inl23::15776::69 : error: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator templateno matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym); ^ /Users/atelier/tmp/jluna/.src/box.inl:157:88: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym); static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ ^ /Users/atelier/tmp/jluna/.src/common.hpp:23:107: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/symbol.cpp:6: In file included from /Users/atelier/tmp/jluna/include/symbol.hpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: /Users/atelier/tmp/jluna/.src/box.inl:157:69: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym); ^ /Users/atelier/tmp/jluna/.src/box.inl:157:88: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template/Users/atelier/tmp/jluna/.src/common.hpp: 29:76: error: static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym);no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template ^ static auto* string = unsafe::get_function(jl_base_module, "string"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/safe_utilities.cpp:8: In file included from /Users/atelier/tmp/jluna/include/type.hpp:10: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: /Users/atelier/tmp/jluna/.src/box.inl:157:69: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym); ^ /Users/atelier/tmp/jluna/.src/box.inl:157:88: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym); ^fatal error: too many errors emitted, stopping now [-ferror-limit=] fatal error: too many errors emitted, stopping now [-ferror-limit=] fatal error: too many errors emitted, stopping now [-ferror-limit=] /Users/atelier/tmp/jluna/.src/common.hpp:47:76: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* length = unsafe::get_function(jl_base_module, "length"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp:53:72: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* equals = unsafe::get_function(jl_base_module, "=="_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/proxy.cpp:9: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: /Users/atelier/tmp/jluna/.src/box.inl:157:69: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym); ^ /Users/atelier/tmp/jluna/.src/box.inl:157:88: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 20 errors generated. 20 errors generated. make[2]: *** [CMakeFiles/jluna.dir/.src/generator_expression.cpp.o] Error 1 make[2]: *** [CMakeFiles/jluna.dir/.src/symbol.cpp.o] Error 1 In file included from /Users/atelier/tmp/jluna/.src/type.cpp:6: In file included from /Users/atelier/tmp/jluna/include/type.hpp:10: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: In file included from /Users/atelier/tmp/jluna/.src/common.hpp:11: In file included from /Users/atelier/tmp/jluna/include/safe_utilities.hpp:78: /Users/atelier/tmp/jluna/.src/safe_utilities.inl:43:65: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:43:82: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_safe_call = unsafe::get_function("jluna"_sym, "safe_call"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:69:81: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* jl_println = unsafe::get_function(jl_base_module, "println"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:71: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ /Users/atelier/tmp/jluna/.src/safe_utilities.inl:75:97: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* forward_as_pointer = unsafe::get_function("jluna"_sym, "forward_as_pointer"_sym); ^ In file included from /Users/atelier/tmp/jluna/.src/type.cpp:6: In file included from /Users/atelier/tmp/jluna/include/type.hpp:10: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: In file included from /Users/atelier/tmp/jluna/.src/box.inl:6: /Users/atelier/tmp/jluna/.src/common.hpp:17:78: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* convert = unsafe::get_function(jl_base_module, "convert"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp:23:76: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp:23:107: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* get_value_type_of_array = unsafe::get_function("jluna"_sym, "get_value_type_of_array"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp:29:76: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* string = unsafe::get_function(jl_base_module, "string"_sym); ^ 20 errors generated. /Users/atelier/tmp/jluna/.src/common.hpp:47:76: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static auto* length = unsafe::get_function(jl_base_module, "length"_sym); ^ /Users/atelier/tmp/jluna/.src/common.hpp:53:72: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template20make[2]: *** [CMakeFiles/jluna.dir/.src/proxy.cpp.o] Error 1 error s generated. static auto* equals = unsafe::get_function(jl_base_module, "=="_sym); ^ make[2]: *** [CMakeFiles/jluna.dir/.src/module.cpp.o] Error 1 In file included from /Users/atelier/tmp/jluna/.src/type.cpp:6: In file included from /Users/atelier/tmp/jluna/include/type.hpp:10: In file included from /Users/atelier/tmp/jluna/include/proxy.hpp:15: In file included from /Users/atelier/tmp/jluna/include/box.hpp:193: /Users/atelier/tmp/jluna/.src/box.inl:157:69: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym); ^ /Users/atelier/tmp/jluna/.src/box.inl:157:88: error: no matching literal operator for call to 'operator""_sym' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template static jl_function_t* complex = unsafe::get_function("jluna"_sym, "new_complex"_sym); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] make[2]: *** [CMakeFiles/jluna.dir/.src/safe_utilities.cpp.o] Error 1 20 errors generated. make[2]: *** [CMakeFiles/jluna.dir/.src/type.cpp.o] Error 1 make[1]: *** [CMakeFiles/jluna.dir/all] Error 2 make: *** [all] Error 2 ```