You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Use MSVC 2010 to compile any file using btree.h
What is the expected output? What do you see instead?
Should compile, but fails because ssize_t is not known.
What version of the product are you using? On what operating system?
Windows 7 + MSVC 2010 (with matching SDK)
Please provide any additional information below.
Can be fixed by a patch to btree.h like:
#if defined(_MSC_VER)
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
This should work with MSVC versions >= 2010, older ones might not work anyway
because of missing C++11 support.
Other issues remain, will open separate issues here for them.
Original issue reported on code.google.com by [email protected] on 4 Feb 2013 at 1:33
The text was updated successfully, but these errors were encountered:
#if defined(_MSC_VER)
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
I used also this approach but when compiling in VS 2013 I get btree.h(1406):
error C2118: negative subscript
Original issue reported on code.google.com by
[email protected]
on 4 Feb 2013 at 1:33The text was updated successfully, but these errors were encountered: