Skip to content

NoVoHT depends on assumptions about internal structure of fpos_t #11

@dmzimmerman

Description

@dmzimmerman

I attempted to build on Mac OS X, using both clang and gcc, and ran into the following error:

novoht.cpp:426:37: error: member reference base type 'fpos_t' (aka 'long long')
      is not a structure or union
                fprintf(dbfile, "%ld,", plist->pos.__pos);

It appears that NoVoHT assumes that it knows something about the internal structure of "fpos_t" that apparently does not hold on Mac OS X. Since fpos_t is supposed to be an opaque data structure and its internals are not supposed to be depended upon, it would be good if there was an alternate method of doing whatever this part of the code is trying to do.

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