/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.10.3/ |
H A D | changelogs-arkcompiler.md | 5 为了推进ArkTS语法规则落地,在编译流程中添加ArkTS语法检查,对工程中的文件进行检查。并根据compatibleSdkVersion划分不同模式,根据模式判断是报warning还是error,… 9 - compatibleSdkVersion < 10 为兼容模式。在该模式下,对于违法ArkTS语法规则的代码,编译时报warning,不阻塞编译。 14 变更之前没有做ArkTS语法的检查,变更后对应用代码增加了ArkTS语法的检查,并根据工程的compatibleSdkVersion判断是报warning还是error,以及是否阻塞编译。 16 …- OpenHarmony SDK从4.0.10.3版本起,会开启编译告警。应用的工程进行编译时会对不符合ArkTS语法规则的代码给出warning告警,各模块可以根据告警信息进行适配,但并不阻塞…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.36/ |
H A D | changelogs-arkcompiler.md | 25 …ias of the non-sendable type, a warning message is displayed on the DevEco Studio editing page, an… 26 … level of the current module, a warning message is displayed on the DevEco Studio editing page, an… 51 … message is displayed. After the change, a warning is displayed on the editing page, and a compila… 66 …dableAlias = NonSendableClass; // Warning on the DevEco Studio editing page and compilation warning 71 …ime error is reported. After the change, a warning is displayed on the editing page, and a compila… 107 new SendableData(); // Warning on the DevEco Studio editing page and compilation warning
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/windows/ |
H A D | library_windows.cpp | 18 #pragma warning(push) 21 #pragma warning(disable : 5039) 23 #pragma warning(pop)
|
H A D | logger_windows.cpp | 32 #pragma warning(push) 35 #pragma warning(disable : 5039) 37 #pragma warning(pop)
|
/ohos5.0/docs/zh-cn/contribute/ |
H A D | OpenHarmony-compile-rule.md | 86 **【描述】** 使用"-fpermissive"选项将C++代码中不符合标准的语法error降级成warning。不允许使用该选项,应采用符合标准的C++语法。 197 warning:trampoline generated for nested function ‘fun’ [-Wtrampolines] 269 warning:macro "_DATE_" might prevent reproducible builds [-Wdate-time] warning:macro "_TIME_" might… 302 上述示例中,进行双精度浮点数相等比较,编译器警告"warning:comparing floating 357 warning: switch missing default case [-Wswitch-default] switch (Color) 409 warning: stack usage is 4012 bytes [-Wstack-usage=] void foo(void) { 457 warning: function returns address of local variable [-Wreturn-local-addr] return \&a; 544 warning: ISO C90 forbids variable length array 'arr' [-Wvla] int arr[len]; 583 warning: unused variable 'a' [-Wunused-variable] int a; 608 warning: "DEFINE_A_VALUE" is not defined, evaluates to 0 [-Wundef] \#if DEFINE_A_VALUE [all …]
|
H A D | OpenHarmony-build-rule.md | 161 日志信息等级分为error/warning/informational,级别可以全写,也可以简写;对应的简写为: 166 | warning | WARN | 455 warning: jobserver unavailable: using -j1. Add '+' to parent make rule. 456 warning: -jN forced in submake: disabling jobserver mode.
|
/ohos5.0/docs/en/contribute/ |
H A D | OpenHarmony-compile-rule.md | 126 …OT enable -Wno-error= XXXX to degrade a specific warning that has been upgraded to an error to a w… 130 …r=XXXX** escalates a warning to an error. **-Wno-error= XXXX** downgrades a warning that has been … 156 ##### G.C&C++.WARN.09 Use unified warning options in a build project. 195 warning: trampoline generated for nested function 'fun' [-Wtrampolines] 264 warning:macro "_DATE_" might prevent reproducible builds [-Wdate-time] warning:macro "_TIME_" might… 351 warning: switch missing default case [-Wswitch-default] switch (Color) 403 warning: stack usage is 4012 bytes [-Wstack-usage=] void foo(void) { 451 warning: function returns address of local variable [-Wreturn-local-addr] return \&a; 539 warning: ISO C90 forbids variable length array 'arr' [-Wvla] int arr[len]; 579 warning: unused variable 'a' [-Wunused-variable] int a; [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_command.cpp | 527 std::string warning; in RunAsInstallCommand() local 719 if (!warning.empty()) { in RunAsInstallCommand() 750 std::string warning; in RunAsUninstallCommand() local 956 std::string warning; in RunAsDumpCommand() local 1129 std::string warning; in RunAsCleanCommand() local 1310 std::string warning; in RunAsEnableCommand() local 1459 std::string warning; in RunAsDisableCommand() local 1754 std::string warning; in RunAsDumpOverlay() local 1890 if (!warning.empty()) { in RunAsDumpOverlay() 1904 std::string warning; in RunAsDumpTargetOverlay() local [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | initial_transform_component.h | 43 #pragma warning(push) 44 #pragma warning(disable : 4583) // 'floatVectorValue': destructor is not implicitly called 48 #pragma warning(pop)
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/ |
H A D | disable_warning_4201_heading.h | 22 #pragma warning(push) 23 #pragma warning(disable : 4201)
|
H A D | disable_warning_4201_footer.h | 22 #pragma warning(pop)
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-components-container-div.md | 66 <div class="flex-item color-warning"></div> 97 .color-warning { 114 <div class="flex-item color-warning"></div> 146 .color-warning {
|
H A D | js-lite-components-container-swiper.md | 67 <div class="swiper-item warning-item"> 94 .warning-item {
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-container-div.md | 54 <div class="flex-item color-warning"></div> 85 .color-warning { 103 <div class="flex-item color-warning"></div> 135 .color-warning {
|
H A D | js-service-widget-container-swiper.md | 53 <div class="swiper-item warning-item"> 80 .warning-item {
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/ |
H A D | vsnprintf_s_p.c | 80 #define SECUREC_MASK_MSVC_CRT_WARNING __pragma(warning(push)) \ 81 __pragma(warning(disable:4996 4127)) 82 #define SECUREC_END_MASK_MSVC_CRT_WARNING __pragma(warning(pop))
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-power-battery-level-customization.md | 47 "warning": 15, 62 | warning | 15 | 告警电量 | 303 "warning": 10,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_manager/src/theme/ |
H A D | ArkColorsImpl.ts | 18 warning: ResourceColor; 87 this.warning = colors?.warning ?? baselineColors.warning;
|
/ohos5.0/base/startup/appspawn/modules/module_engine/include/ |
H A D | appspawn_msg.h | 73 # pragma warning(push) 141 # pragma warning(pop)
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.10.11/ |
H A D | changelogs-arkcompiler.md | 108 Added ArkTS syntax rule levels: error and warning. 111 - **Warning**: constraint with which compliance is recommended. A warning does not affect the compi… 113 …arkts-no-decorators-except-arkui** are degraded to warning. If **ESObject** is used in code, a war…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/memory/ |
H A D | rs_memory_snapshot.cpp | 99 uint64_t warning, uint64_t overflow, uint64_t totalSize) in InitMemoryLimit() argument 103 singleMemoryWarning_ = warning; in InitMemoryLimit()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_manager/src/theme/system/ |
H A D | ArkSystemColors.ts | 17 warning: ResourceColor; 77 this.warning = ArkResourcesHelper.$r('sys.color.warning', 125830979);
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.10.3/ |
H A D | changelogs-arkcompiler.md | 5 Added ArkTS syntax validation to the compilation process. Syntax issues are classified as warning o… 16 …er versions, syntax validation is enabled. During project compilation, a warning is generated for …
|
/ohos5.0/build/scripts/ |
H A D | entry.py | 36 def warning(msg: str): function 81 warning('--ninja-args is obsoleted, '
|
/ohos5.0/base/powermgr/thermal_manager/frameworks/napi/ |
H A D | thermal_manager_napi.cpp | 156 napi_value warning; in InitThermalLevel() local 165 napi_create_uint32(env, static_cast<uint32_t>(ThermalLevel::WARNING), &warning); in InitThermalLevel() 175 DECLARE_NAPI_STATIC_PROPERTY("WARNING", warning), in InitThermalLevel()
|