Skip to content

#include "string.h" on mac #82

Closed
Closed
@ozgurakgun

Description

@ozgurakgun

#include "string.h" on my system gives the following error:

c2hs: C header contains errors:

/usr/include/string.h:131: (column 90) [ERROR]  >>> Syntax error !
  The symbol `=' does not fit here.

I am on Mac OS X Mavericks.

The relevant line in string.h on this machine is the following:

char    *stpncpy(char *, const char *, size_t) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);

I am not sure what __IPHONE_4_3 expands to, but I can investigate if you think it can be helpful.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions