Skip to content

Conflicting types for 'time' when linking with CoreMedia #26

Description

@JoshJones57

This is happening in the "OAMutableURLRequest.m" file calling:

(void)_generateTimestamp { timestamp = [[NSString stringWithFormat:@"%ld", time(NULL)] retain]; }
The 'time' variable doesn't know if it should link to the sys/time or to the CorMedia time.
This can be prevented in two ways:

Declaring "time_t time(time_t *tloc);" at the top
or creating a time structure in the function

PLEASE CHANGE

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions