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

Doesn't compile on i386 when time_t is defined as int #30

Closed
lbartoletti opened this issue Aug 27, 2016 · 3 comments
Closed

Doesn't compile on i386 when time_t is defined as int #30

lbartoletti opened this issue Aug 27, 2016 · 3 comments

Comments

@lbartoletti
Copy link
Contributor

time_t is not necessary a long. On some architecture (for my case FreeBSD i386), time_t is defined as an int (and long for amd64). So, for 32 bits, libopencad doesn't compile:

lib/cadheader.h:78:5: error: constructor cannot be redeclared CADVariant( time_t val );
    ^
lib/cadheader.h:72:5: note: previous declaration is here CADVariant( int val );

See types.h

@drnextgis
Copy link

Any progress on this issue?

@sandyre
Copy link
Owner

sandyre commented Sep 8, 2016

Last commit fixes build?

@lbartoletti
Copy link
Contributor Author

Yes

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

3 participants