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

need mkstemp replacement #39

Closed
alex85k opened this issue Aug 22, 2014 · 3 comments
Closed

need mkstemp replacement #39

alex85k opened this issue Aug 22, 2014 · 3 comments
Labels

Comments

@alex85k
Copy link

alex85k commented Aug 22, 2014

The error is trivial:

..\..\test\t\index\test_typed_mmap.cpp(52): error C3861: 'mkstemp': identifier not found [D:\build_d\libosmium7\build-cmake\test\test_typed_mmap.vcxproj]

The solutions can be completely different (from avoiding mkstemp to adding its implementation from mingw into headers).

@alex85k alex85k mentioned this issue Aug 22, 2014
30 tasks
@joto joto added the windows label Aug 25, 2014
@joto joto changed the title [windows] need mkstemp replacement need mkstemp replacement Aug 25, 2014
@joto
Copy link
Member

joto commented Aug 25, 2014

Can you either ifdef the test out alltogether or find a mkstemp implementation and stick it in its own file in test/include/ and then include that file on windows?

@alex85k
Copy link
Author

alex85k commented Aug 25, 2014

Here it is:
alex85k@4190c6d

@joto
Copy link
Member

joto commented Aug 25, 2014

Merged in 408911f.

@joto joto closed this as completed Aug 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants