Opened 5 years ago
#60319 assigned defect
cdo @1.9.8: error: variable has incomplete type 'struct mach_task_basic_info'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | cdo |
Description
cdo fails to build at least on Lion:
getRSS.c:97:30: error: variable has incomplete type 'struct mach_task_basic_info' struct mach_task_basic_info info; ^ getRSS.c:97:9: note: forward declaration of 'struct mach_task_basic_info' struct mach_task_basic_info info; ^ getRSS.c:98:37: error: use of undeclared identifier 'MACH_TASK_BASIC_INFO_COUNT' mach_msg_type_number_t infoCount = MACH_TASK_BASIC_INFO_COUNT; ^ getRSS.c:99:37: error: use of undeclared identifier 'MACH_TASK_BASIC_INFO' if ( task_info( mach_task_self( ), MACH_TASK_BASIC_INFO, ^ 3 errors generated.
Note: See
TracTickets for help on using
tickets.