Menu

#1 PCP - MacOSX - task_t type conflicts w/ mach_types.h

pcp_2.4.0
closed-fixed
nobody
None
5
2005-11-21
2005-11-21
mtw
No

Problem Description
----
Build fails on MacOS 10.3.9 because the file src/pmlogger/logger.h
defines a type, i.e. task_t, that conflicts with the task_t type defined
in: /usr/include/mach/mach_types.h

The affected files (all in src/pmlogger) are:
logger.h
callback.c
check.c
dopdu.c
gram.save.c
gram.y
pmlogger.c

Suggested Solution
----
Change the name of the pcp-internal type to pcp_task_t, in all affected
source files.

Discussion

  • mtw

    mtw - 2005-11-21
    • summary: PCP - MacOSX - decl of task_t conflicts w/ mach_types.h --> PCP - MacOSX - task_t type conflicts w/ mach_types.h
     
  • mtw

    mtw - 2005-11-21
    • status: open --> closed-fixed
     
  • mtw

    mtw - 2005-11-21

    Logged In: YES
    user_id=1363106

    Fixed. Changed all instances of task_t to pcp_task_t in the affected files.

     

Log in to post a comment.

Auth0 Logo