hujun260 commented on PR #14351:
URL: https://github.com/apache/nuttx/pull/14351#issuecomment-2453259354

   this pr will lead compile error
   make distclean -j20; ./tools/configure.sh -l omnibusf4:nsh ;make -j20
   
   CC:  ctype/lib_tolower.c mtd/sector512.c: In function 's512_ioctl':
   mtd/sector512.c:554:19: error: invalid use of undefined type 'struct 
partition_info_s'
     554 |               info->numsectors  = priv->neblocks * priv->stdperblock;
         |                   ^~
   mtd/sector512.c:555:19: error: invalid use of undefined type 'struct 
partition_info_s'
     555 |               info->sectorsize  = SECTOR_512;
         |                   ^~
   mtd/sector512.c:556:19: error: invalid use of undefined type 'struct 
partition_info_s'
     556 |               info->startsector = 0;
         |                   ^~
   mtd/sector512.c:557:19: error: invalid use of undefined type 'struct 
partition_info_s'
     557 |               info->parent[0]   = '\0';


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to