Skip to content

Fails to compile when including <math.h> of recent glibc #48

@schoppmp

Description

@schoppmp

With glibc 2.26-5, I get the following error when compiling any Obliv-C code that includes math.h:

/usr/include/bits/mathcalls-helper-functions.h[21:12-28] : syntax error
Parsing errorFatal error: exception Frontc.ParseError("Parse error")

Any idea where this error could come from? Downgrading glibc works as a workaround, and so does
declaring all math.h functions as extern when compiling with Obliv-C, but apart from that I haven't had any success debugging this issue.

For reference, that's my mathcalls-helper-functions.h.

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