Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoVoHT depends on assumptions about internal structure of fpos_t #11

Open
dmzimmerman opened this issue May 11, 2016 · 1 comment
Open

Comments

@dmzimmerman
Copy link

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.

@dmzimmerman dmzimmerman changed the title ZHT code depends on assumptions about internal structure of fpos_t NoVoHT depends on assumptions about internal structure of fpos_t May 11, 2016
@kjbrandstatter
Copy link

probably implementation differences between clang and libc. can't help there being differences between library implementations of the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants