can't declare any more prefixes in this context

博客提及在当前上下文中无法再声明更多前缀的情况,但未给出更多相关信息。
can't declare any more prefixes in this context1839292.aspx
struct virtrdma_sq_stats { struct u64_stats_sync syncp; u64 packets; u64 bytes; u64 xdp_tx; u64 xdp_tx_drops; u64 kicks; u64 tx_timeouts; }; struct virtrdma_rq_stats { struct u64_stats_sync syncp; u64 packets; u64 bytes; u64 drops; u64 xdp_packets; u64 xdp_tx; u64 xdp_redirects; u64 xdp_drops; u64 kicks; }; /* Internal representation of a send virtqueue */ struct virtrdma_send_queue { /* Virtqueue associated with this send _queue */ struct virtqueue *vq; /* TX: fragments + linear part + virtio header */ struct scatterlist sg[MAX_SKB_FRAGS + 2]; /* Name of the send queue: output.$index */ char name[16]; struct virtrdma_sq_stats stats; struct napi_struct napi; /* Record whether sq is in reset state. */ bool reset; }; /* RX packet size EWMA. The average packet size is used to determine the packet * buffer size when refilling RX rings. As the entire RX ring may be refilled * at once, the weight is chosen so that the EWMA will be insensitive to short- * term, transient changes in packet size. */ DECLARE_EWMA(pkt_len, 0, 64) /* Internal representation of a receive virtqueue */ struct virtrdma_receive_queue { /* Virtqueue associated with this receive_queue */ struct virtqueue *vq; struct napi_struct napi; struct bpf_prog __rcu *xdp_prog; struct virtrdma_rq_stats stats; /* Chain pages by the private ptr. */ struct page *pages; /* Average packet length for mergeable receive buffers. */ struct ewma_pkt_len mrg_avg_pkt_len; /* Page frag for packet buffer allocation. */ struct page_frag alloc_frag; /* RX: fragments + linear part + virtio header */ struct scatterlist sg[MAX_SKB_FRAGS + 2]; /* Min single buffer size for mergeable buffers case. */ unsigned int min_buf_len; /* Name of this receive queue: input.$index */ char name[16]; struct xdp_rxq_info xdp_rxq; }; struct virtrdma_info { struct virtio_device *vdev; struct virtqueue *cvq; struct net_device *dev; struct virtrdma_send_queue *sq; struct virtrdma_receive_queue *rq; unsigned int status; /* Max # of queue pairs supported by the device */ u16 max_queue_pairs; /* # of queue pairs currently used by the driver */ u16 curr_queue_pairs; /* # of XDP queue pairs currently used by the driver */ u16 xdp_queue_pairs; /* xdp_queue_pairs may be 0, when xdp is already loaded. So add this. */ bool xdp_enabled; /* I like... big packets and I cannot lie! */ bool big_packets; /* number of sg entries allocated for big packets */ unsigned int big_packets_num_skbfrags; /* Host will merge rx buffers for big packets (shake it! shake it!) */ bool mergeable_rx_bufs; /* Host supports rss and/or hash report */ bool has_rss; bool has_rss_hash_report; u8 rss_key_size; u16 rss_indir_table_size; u32 rss_hash_types_supported; u32 rss_hash_types_saved; /* Has control virtqueue */ bool has_cvq; /* Host can handle any s/g split between our header and packet data */ bool any_header_sg; /* Packet virtio header size */ u8 hdr_len; /* Work struct for delayed refilling if we run low on memory. */ struct delayed_work refill; /* Is delayed refill enabled? */ bool refill_enabled; /* The lock to synchronize the access to refill_enabled */ spinlock_t refill_lock; /* Work struct for config space updates */ struct work_struct config_work; /* Does the affinity hint is set for virtqueues? */ bool affinity_hint_set; /* CPU hotplug instances for online & dead */ struct hlist_node node; struct hlist_node node_dead; struct control_buf *ctrl; /* Ethtool settings */ u8 duplex; u32 speed; /* Interrupt coalescing settings */ u32 tx_usecs; u32 rx_usecs; u32 tx_max_packets; u32 rx_max_packets; unsigned long guest_offloads; unsigned long guest_offloads_capable; /* failover when STANDBY feature enabled */ struct failover *failover; }; static inline struct virtio_rdma_dev *to_vdev(struct ib_device *ibdev) { return container_of(ibdev, struct virtio_rdma_dev, ib_dev); } #define virtio_rdma_dbg(ibdev, fmt, ...) \ ibdev_dbg(ibdev, "%s: " fmt, __func__, ##__VA_ARGS__) #endif 这一段也改一下
09-23
FAILED: obj/foundation/multimedia/media_foundation/src/meta/media_foundation/format.o /usr/bin/ccache ../../prebuilts/clang/ohos/linux-x86_64/llvm/bin/clang++ -MMD -MF obj/foundation/multimedia/media_foundation/src/meta/media_foundation/format.o.d -DHST_ANY_WITH_NO_RTTI -DMEDIA_OHOS -DDYNAMIC_PLUGINS -DHST_PLUGIN_PATH=\"/system/lib64/media/media_plugins\" -DHST_PLUGIN_FILE_TAIL=\".z.so\" -DV8_DEPRECATION_WARNINGS -D_GNU_SOURCE -DHAVE_SYS_UIO_H -D__MUSL__ -D_LIBCPP_HAS_MUSL_LIBC -D__BUILD_LINUX_WITH_CLANG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD -D__GNU_SOURCE=1 -DCHROMIUM_CXX_TWEAK_INLINES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSOFTBUS_LINUX -DDRIVERS_INTERFACE_DISPLAY_ENABLE -DUSE_GRAPHIC_TEXT_GINE -DACE_ENABLE_GL -DRS_ENABLE_GL -DENABLE_RECORDING_DCL -DRS_DISABLE_EGLIMAGE -DRS_ENABLE_PARALLEL_RENDER -Iobj/third_party/musl/usr/include/aarch64-linux-ohos -Ioverride/third_party -I../.. -Igen -I../../foundation/multimedia/media_foundation/osal/base -I../../foundation/multimedia/media_foundation/plugin -I../../foundation/multimedia/media_foundation/src/buffer/avbuffer/include -I../../foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/include -I../../foundation/multimedia/media_foundation/src/capi/common -I../../base/hiviewdfx/hilog/interfaces/native/innerkits/include -I../../foundation/graphic/graphic_surface/surface/include -I../../foundation/graphic/graphic_2d/utils/sync_fence/export -I../../foundation/graphic/graphic_2d/interface/inner_api/common -I../../third_party/bounds_checking_function/include -I../../third_party/ffmpeg -I../../foundation/multimedia/media_foundation/interface/kits/c -I../../foundation/multimedia/media_foundation/interface/inner_api -I../../foundation/multimedia/media_foundation/interface/inner_api/buffer -I../../foundation/multimedia/media_foundation/interface/inner_api/common -I../../foundation/multimedia/media_foundation/interface/inner_api/meta -I../../foundation/graphic/graphic_surface/interface/inner_api/surface -I../../commonlibrary/c_utils/base/include -I../../base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include -I../../foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include -I../../foundation/systemabilitymgr/samgr/interfaces/innerkits/dynamic_cache/include -I../../base/notification/eventhandler/interfaces/inner_api -I../../base/notification/eventhandler/frameworks/eventhandler/include -I../../foundation/communication/ipc/interfaces/innerkits/ipc_core/include -I../../foundation/communication/dsoftbus/interfaces/kits -I../../foundation/communication/dsoftbus/interfaces/kits/bus_center -I../../foundation/communication/dsoftbus/interfaces/kits/common -I../../foundation/communication/dsoftbus/interfaces/kits/discovery -I../../foundation/communication/dsoftbus/interfaces/kits/transport -I../../foundation/communication/dsoftbus/sdk/transmission/session/cpp/include -I../../foundation/communication/dsoftbus/interfaces/inner_kits/transport -I../../foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/include -I../../foundation/communication/dsoftbus/core/common/dfx/interface/include -I../../foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/interface -I../../foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface -I../../foundation/graphic/graphic_surface/interfaces/inner_api/surface -I../../foundation/graphic/graphic_surface/interfaces/inner_api/common -I../../foundation/graphic/graphic_surface/interfaces/inner_api/utils -I../../foundation/graphic/graphic_surface/sandbox -I../../foundation/graphic/graphic_surface/scoped_bytrace/include -I../../foundation/graphic/graphic_surface/sync_fence/include -I../../base/hiviewdfx/hilog/interfaces/native/innerkits -I../../foundation/graphic/graphic_2d/utils/log -I../../base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace_meter -I../../foundation/communication/ipc/ipc/native/src/core/include -I../../foundation/communication/ipc/ipc/native/src/mock/include -fno-strict-aliasing -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fcolor-diagnostics -fmerge-all-constants -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -no-canonical-prefixes -flto=thin -fsplit-lto-unit -ffunction-sections -fno-short-enums --target=aarch64-linux-ohos -march=armv8-a -mfloat-abi=hard -mfpu=neon-fp-armv8 --param=ssp-buffer-size=4 -fstack-protector-strong -fPIC -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-error=c99-designator -Wno-error=anon-enum-enum-conversion -Wno-error=sizeof-array-div -Wno-error=implicit-fallthrough -Wno-error=reorder-init-list -Wno-error=range-loop-construct -Wno-error=deprecated-copy -Wno-error=implicit-int-float-conversion -Wno-error=inconsistent-dllimport -Wno-error=unknown-warning-option -Wno-error=sign-compare -Wno-error=int-in-bool-context -Wno-error=return-stack-address -Wno-error=dangling-gsl -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-unused-but-set-parameter -Wno-null-pointer-subtraction -Wno-unqualified-std-cast-call -Wno-user-defined-warnings -Wno-unused-lambda-capture -Wno-null-pointer-arithmetic -Wno-enum-compare-switch -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g2 -ggnu-pubnames -fno-common -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare --param=ssp-buffer-size=4 -fstack-protector-ret-strong -O2 -fPIC -Wall -fexceptions -fno-rtti -Wno-unused-but-set-variable -Wno-format -fsanitize-trap=all -ftrap-function=abort -fsanitize-cfi-cross-dso -flto -fsanitize=cfi -fsanitize-blacklist=../../build/config/sanitizers/cfi_blocklist.txt -fvisibility=default -fsanitize=unsigned-integer-overflow -fsanitize=signed-integer-overflow -fsanitize-blacklist=../../build/config/sanitizers/integer_overflow_blocklist.txt -fno-sanitize-trap=integer,undefined -fno-sanitize-recover=integer,undefined -fsanitize-minimal-runtime -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -Wno-error=deprecated-declarations -DCONFIG_STANDARD_SYSTEM -DBUILD_PUBLIC_VERSION -DCONFIG_ACTV_BINDER -std=c++17 -fno-exceptions -fno-rtti --sysroot=obj/third_party/musl -fvisibility-inlines-hidden -O2 -fPIC -Wall -fexceptions -fno-rtti -Wno-unused-but-set-variable -Wno-format -c ../../foundation/multimedia/media_foundation/src/meta/format.cpp -o obj/foundation/multimedia/media_foundation/src/meta/media_foundation/format.o ../../foundation/multimedia/media_foundation/src/meta/format.cpp:142:76: error: no member named 'c_str' in 'std::string_view' MEDIA_LOG_E("liubing PutIntValue key:%{public}s value:%{public}d", key.c_str(), value);这个错误是啥意思
08-27
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值