error: missing space between ‘ “ “ ‘ and suffix identifier

博客给出一个解决方法,即在“”与_之间添加一个空格,但未明确该问题的具体应用场景。
部署运行你感兴趣的模型镜像
error: missing space between '""' and suffix identifier
   using udl::operator""_;

解决方法:在""与_之间加一个空格。

  using udl::operator"" _;

您可能感兴趣的与本文相关的镜像

ACE-Step

ACE-Step

音乐合成
ACE-Step

ACE-Step是由中国团队阶跃星辰(StepFun)与ACE Studio联手打造的开源音乐生成模型。 它拥有3.5B参数量,支持快速高质量生成、强可控性和易于拓展的特点。 最厉害的是,它可以生成多种语言的歌曲,包括但不限于中文、英文、日文等19种语言

解析以下错误libs using C++ compiler: ‘g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)’ using C++11 g++ -std=gnu++11 -I"/public/software/R4.3.2/lib64/R/include" -DNDEBUG -I'/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/BH/include' -I'/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include' -I/usr/local/include -fpic -g -O2 -c cpp11.cpp -o cpp11.o In file included from /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11.hpp:3:0, from /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/declarations.hpp:13, from cpp11.cpp:5: /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/R.hpp:52:20: error: missing space between ‘""’ and suffix identifier constexpr R_xlen_t operator""_xl(unsigned long long int value) { return value; } ^ In file included from /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/r_vector.hpp:19:0, from /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/list.hpp:9, from /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/data_frame.hpp:12, from /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11.hpp:7, from /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/declarations.hpp:13, from cpp11.cpp:5: /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/named_arg.hpp:42:18: error: missing space between ‘""’ and suffix identifier inline named_arg operator""_nm(const char* name, std::size_t) { return named_arg(name); } ^ In file included from /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/list.hpp:9:0, from /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/data_frame.hpp:12, from /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11.hpp:7, from /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/declarations.hpp:13, from cpp11.cpp:5: /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/r_vector.hpp: In member function ‘cpp11::r_vector<T>::const_iterator& cpp11::r_vector<T>::const_iterator::operator--()’: /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/r_vector.hpp:680:23: error: unable to find numeric literal operator ‘operator"" _xl’ fill_buf(std::max(0_xl, pos_ - 64)); ^ /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/r_vector.hpp: In member function ‘cpp11::r_vector<T>::const_iterator& cpp11::r_vector<T>::const_iterator::operator-=(R_xlen_t)’: /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/r_vector.hpp:700:23: error: unable to find numeric literal operator ‘operator"" _xl’ fill_buf(std::max(0_xl, pos_ - 64)); ^ /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/r_vector.hpp: In member function ‘void cpp11::r_vector<T>::const_iterator::fill_buf(R_xlen_t)’: /public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/cpp11/include/cpp11/r_vector.hpp:761:22: error: unable to find numeric literal operator ‘operator"" _xl’ length_ = std::min(64_xl, data_->size() - pos); ^ make: *** [cpp11.o] Error 1 ERROR: compilation failed for package ‘BiocParallel’ * removing ‘/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/BiocParallel’ * installing *source* package ‘Rcpp’ ... ** package ‘Rcpp’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)’ g++ -std=gnu++11 -I"/public/software/R4.3.2/lib64/R/include" -DNDEBUG -I../inst/include/ -I/usr/local/include -fpic -g -O2 -c api.cpp -o api.o In file included from ../inst/include/Rcpp/Module.h:510:0, from ../inst/include/Rcpp.h:70, from api.cpp:26: ../inst/include/Rcpp/module/class.h:114:100: error: expected ‘)’ before ‘(’ token self& constructor( const char* docstring = 0, ValidConstructor valid = &yes_arity<sizeof...(T)> ){ ^ ../inst/include/Rcpp/module/class.h:114:103: error: expected initializer before ‘>’ token self& constructor( const char* docstring = 0, ValidConstructor valid = &yes_arity<sizeof...(T)> ){ ^ ../inst/include/Rcpp/module/class.h:119:117: error: expected ‘)’ before ‘(’ token self& factory( Class* (*fun)(T...), const char* docstring = 0, ValidConstructor valid = &yes_arity<sizeof...(T)> ){ ^ ../inst/include/Rcpp/module/class.h:119:120: error: expected initializer before ‘>’ token self& factory( Class* (*fun)(T...), const char* docstring = 0, ValidConstructor valid = &yes_arity<sizeof...(T)> ){ ^ ../inst/include/Rcpp/module/class.h:265:89: error: expected ‘)’ before ‘(’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h:265:92: error: expected initializer before ‘>’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h:271:89: error: expected ‘)’ before ‘(’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h:271:92: error: expected initializer before ‘>’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h:277:98: error: expected ‘)’ before ‘(’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h:277:101: error: expected initializer before ‘>’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h:283:95: error: expected ‘)’ before ‘(’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h:283:98: error: expected initializer before ‘>’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h:289:89: error: expected ‘)’ before ‘(’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h:289:92: error: expected initializer before ‘>’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h:295:95: error: expected ‘)’ before ‘(’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h:295:98: error: expected initializer before ‘>’ token const char* docstring = 0, ValidMethod valid = &yes_arity<sizeof...(T)>) { ^ ../inst/include/Rcpp/module/class.h: In member function ‘Rcpp::class_<Class>::self& Rcpp::class_<Class>::default_constructor(const char*, Rcpp::ValidConstructor)’: ../inst/include/Rcpp/module/class.h:110:50: error: there are no arguments to ‘constructor’ that depend on a template parameter, so a declaration of ‘constructor’ must be available [-fpermissive] return constructor( docstring, valid ) ; ^ ../inst/include/Rcpp/module/class.h:110:50: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) make: *** [api.o] Error 1 ERROR: compilation failed for package ‘Rcpp’ * removing ‘/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/Rcpp’ ERROR: dependency ‘Rcpp’ is not available for package ‘plyr’ * removing ‘/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/plyr’ ERROR: dependency ‘BiocParallel’ is not available for package ‘Rsamtools’ * removing ‘/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/Rsamtools’ ERROR: dependencies ‘plyr’, ‘Rcpp’ are not available for package ‘reshape2’ * removing ‘/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/reshape2’ ERROR: dependencies ‘Rsamtools’, ‘BiocParallel’ are not available for package ‘GenomicAlignments’ * removing ‘/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/GenomicAlignments’ ERROR: dependency ‘plyr’ is not available for package ‘emdbook’ * removing ‘/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/emdbook’ ERROR: dependency ‘reshape2’ is not available for package ‘qvalue’ * removing ‘/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/qvalue’ ERROR: dependencies ‘Rsamtools’, ‘GenomicAlignments’ are not available for package ‘rtracklayer’ * removing ‘/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/rtracklayer’ ERROR: dependencies ‘qvalue’, ‘emdbook’, ‘Rsamtools’, ‘rtracklayer’, ‘Rcpp’ are not available for package ‘methylKit’ * removing ‘/public/home/ouyanggroup/zhuyt/R/x86_64-pc-linux-gnu-library/4.3/methylKit’
10-28
cc1plus: warning: unrecognized command line option "-Wno-ignored-attributes" [enabled by default] [7/36] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/bin.cpp.o FAILED: CMakeFiles/lightgbm_objs.dir/src/io/bin.cpp.o /usr/bin/g++ -pthread -B /home/liuhui.682/.custom/PYTORCH1.4.0_JUPYTER2_cpu/envs/catboost/compiler_compat -Wl,--sysroot=/ -DEIGEN_DONT_PARALLELIZE -DEIGEN_MPL2_ONLY -DMM_MALLOC -DMM_PREFETCH -DUSE_SOCKET -I/tmp/pip-install-tv5grn8w/lightgbm_5054f3e8dfcd443f96ed89f1aa8091e3/external_libs/eigen -I/tmp/pip-install-tv5grn8w/lightgbm_5054f3e8dfcd443f96ed89f1aa8091e3/external_libs/fast_double_parser/include -I/tmp/pip-install-tv5grn8w/lightgbm_5054f3e8dfcd443f96ed89f1aa8091e3/external_libs/fmt/include -I/tmp/pip-install-tv5grn8w/lightgbm_5054f3e8dfcd443f96ed89f1aa8091e3/include -fopenmp -pthread -Wextra -Wall -Wno-ignored-attributes -Wno-unknown-pragmas -Wno-return-type -O3 -fPIC -funroll-loops -O3 -DNDEBUG -std=gnu++11 -MD -MT CMakeFiles/lightgbm_objs.dir/src/io/bin.cpp.o -MF CMakeFiles/lightgbm_objs.dir/src/io/bin.cpp.o.d -o CMakeFiles/lightgbm_objs.dir/src/io/bin.cpp.o -c /tmp/pip-install-tv5grn8w/lightgbm_5054f3e8dfcd443f96ed89f1aa8091e3/src/io/bin.cpp In file included from /tmp/pip-install-tv5grn8w/lightgbm_5054f3e8dfcd443f96ed89f1aa8091e3/include/LightGBM/utils/common.h:34:0, from /tmp/pip-install-tv5grn8w/lightgbm_5054f3e8dfcd443f96ed89f1aa8091e3/include/LightGBM/bin.h:9, from /tmp/pip-install-tv5grn8w/lightgbm_5054f3e8dfcd443f96ed89f1aa8091e3/src/io/bin.cpp:5: /tmp/pip-install-tv5grn8w/lightgbm_5054f3e8dfcd443f96ed89f1aa8091e3/external_libs/fmt/include/fmt/format.h:3997:16: error: missing space between ‘""’ and suffix identifier constexpr auto operator""_a(const char* s, size_t) -> detail::udl_arg<char> { ^ In file included from /tmp/pip-install-tv5grn8w/lightgbm_5054f3e8dfcd443f96ed89f1aa8091e3/include/LightGBM/bin.h:9:0,
08-21
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值