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

ocilib.hpp minor problem #63

Closed
empsftwr opened this issue Jan 12, 2017 · 1 comment
Closed

ocilib.hpp minor problem #63

empsftwr opened this issue Jan 12, 2017 · 1 comment
Assignees

Comments

@empsftwr
Copy link

empsftwr commented Jan 12, 2017

Hi,
I was compiling a program today using your C++ wrapper. At some point of the compilation it complained that ptrdiff_t is unrecognized, so I added #include <cstddef> to ocilib.hpp in order to sort it out.

`...
#ifndef OCILIBCPP_H_INCLUDED
#define OCILIBCPP_H_INCLUDED

/* includes */

#include <string>
#include <list>
#include <vector>
#include <cstddef>

extern "C"{
#include "ocilib.h"
}
...
`

I am compiling on openSuse 42.2 Linux with g++ 4.8.5.

Best regards.

@vrogier
Copy link
Owner

vrogier commented Jan 18, 2017

Hi,

Thanks for reporting it :)

That's weird as I did not encounter this issue on other g++ installations (nor with clang and msvc)

I will check that point.

Best regards

Vincent

vrogier added a commit that referenced this issue Jan 25, 2017
include <iterator> instead of <cstddef>
vrogier added a commit that referenced this issue May 5, 2017
@vrogier vrogier self-assigned this Jan 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants