Skip to content

Conversation

@gmarull
Copy link
Collaborator

@gmarull gmarull commented Sep 26, 2025

No description provided.

@gmarull gmarull added the DNM Do Not Merge label Sep 26, 2025
@gmarull
Copy link
Collaborator Author

gmarull commented Sep 26, 2025

[1152/1951] Compiling third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_mp_code/src/gh3x2x_mp_param_config.c
In file included from ../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_application/inc/gh3x2x_demo_common.h:17,
                 from ../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_application/inc/gh3x2x_demo_algorithm_calc.h:19,
                 from ../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_call/src/gh3x2x_demo_algo_call_af.c:3:
../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_call/inc/goodix_algo.h:17:29: error: conflicting types for 'GS32'; have 'int'
   17 | typedef int                 GS32;   /**< 32bit signed integer type */
      |                             ^~~~
In file included from ../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_application/inc/gh3x2x_demo_algo_call.h:14,
                 from ../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_call/src/gh3x2x_demo_algo_call_af.c:2:
../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_kernel_code/driver/inc/gh_drv.h:30:29: note: previous declaration of 'GS32' with type 'GS32' {aka 'long int'}
   30 | typedef int32_t             GS32;   /**< 32bit signed integer type */
      |                             ^~~~
../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_call/inc/goodix_algo.h:18:29: error: conflicting types for 'GU32'; have 'unsigned int'
   18 | typedef unsigned int        GU32;   /**< 32bit unsigned integer type */
      |                             ^~~~
../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_kernel_code/driver/inc/gh_drv.h:31:29: note: previous declaration of 'GU32' with type 'GU32' {aka 'long unsigned int'}
   31 | typedef uint32_t            GU32;   /**< 32bit unsigned integer type */
      |                             ^~~~
../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_call/inc/goodix_algo.h:34:1: error: multi-line comment [-Werror=comment]
   34 | //#define   GH3X2X_DEBUG_ALGO_LOG(...)       do {\
      | ^
../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_application/inc/gh3x2x_demo_algorithm_calc.h:230:13: error: conflicting types for 'g_nEcgParamsArr'; have 'GS32[5]' {aka 'int[5]'}
  230 | extern GS32 g_nEcgParamsArr[GOODIX_ECG_PARAMS_NUM_MAX];
      |             ^~~~~~~~~~~~~~~
../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_kernel_code/driver/inc/gh_drv.h:2435:13: note: previous declaration of 'g_nEcgParamsArr' with type 'GS32[5]' {aka 'long int[5]'}
 2435 | extern GS32 g_nEcgParamsArr[5];
      |             ^~~~~~~~~~~~~~~
In file included from ../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_call/inc/goodix_af.h:6,
                 from ../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_call/src/gh3x2x_demo_algo_call_af.c:7:
../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_algo_code/goodix_algo_call/inc/goodix_algo.h:34:1: error: multi-line comment [-Werror=comment]
   34 | //#define   GH3X2X_DEBUG_ALGO_LOG(...)       do {\
      | ^
cc1: all warnings being treated as errors

../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_kernel_code/module/gh_protocol/gh_uprotocol.c:175:53: error: argument 2 of type 'GCHAR[150]' {aka 'char[150]'} with mismatched bound [-Werror=array-parameter=]
  175 | void GH3X2X_GetVersion(GU8 uchGetVersionType, GCHAR pszVersionString[150])
      |                                               ~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from ../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_kernel_code/module/gh_protocol/gh_uprotocol.c:17:
../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_kernel_code/module/gh_protocol/gh_uprotocol.h:380:53: note: previously declared as 'GCHAR[100]' {aka 'char[100]'}
  380 | void GH3X2X_GetVersion(GU8 uchGetVersionType, GCHAR pszVersionString[100]);
      |                                               ~~~~~~^~~~~~~~~~~~~~~~~~~~~
../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_kernel_code/module/gh_protocol/gh_uprotocol.c: In function 'GH3X2X_UprotocolEcgCascadeCmd':
../third_party/nonfree/pebbleos-nonfree/gh3x2x/demo_code/demo_kernel_code/module/gh_protocol/gh_uprotocol.c:1108:1: error: multi-line comment [-Werror=comment]
 1108 | //    SET_VAL_VIA_PTR(pusRespondLen, GH3X2X_UprotocolPacketFormat(g_uchPacketCmd, puchRespondBuffer,\
      | ^
cc1: all warnings being treated as errors

@Jiyun-Yang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DNM Do Not Merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants