Comments (7)
and the reason why I did not notice the error is that Lob::GetConnection() is not called in my test suite :(
Will be be fixed in v4.7.6 branch.
Regards,
Vincent
from ocilib.
Can you provide your platform and compiler version ?
I did ran my C++ tests on both Windows (msvc) and Linux (gcc) without issues prior releasing the release.
Thanks,
Vincent
from ocilib.
Sure:
`Linux sal9000 6.1.9-1-MANJARO #1 SMP PREEMPT_DYNAMIC Wed Feb 1 20:38:52 UTC 2023 x86_64 GNU/Linux
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin`
Project is built with CLion 22.3.2
from ocilib.
It seems indeed that a friend class declaration for Lob<T,U> is missing in Environment class declaration ....
I do not understand why it ran fine on my environment :(
I will check this later today.
Can you add the following in include/ocilibcpp/ types.hpp, near line 511:
template<class, int>
friend class Lob;
it should get rif off the issue.
regards,
Vincent
from ocilib.
that gives me
In file included from /usr/local/include/ocilib.hpp:153: /usr/local/include/ocilibcpp/types.hpp:499:22: error: template 'Lob' cannot be referenced with a class specifier friend class Lob; ^ /usr/local/include/ocilibcpp/config.hpp:198:7: note: declared here class Lob; ^
from ocilib.
Sorry, I gave you the hint while I was away from the keyboard.
Correct syntax is:
template<class, int>
friend class Lob;
from ocilib.
Hi,
v4.7.6 released.
Regards,
Vincent
from ocilib.
Related Issues (20)
- Cancel/Terminate/Stop connection request HOT 2
- C++ API: Exception GetMessage HOT 3
- OCI_SubscriptionRegister() generates a segfault on failure HOT 7
- OCI_GetTimeout() always returns 0 since v4.7.0 HOT 11
- OCI_GetSqlIdentifier() returns invalid values for Scrollable Statements when called more than once HOT 8
- Strange behaviour with XMLTYPE HOT 23
- OCI_TypeInfoGet() : In case of failure, newly created OCI_TypeInfo object is not removed from OCI_Connection internal cache
- OCI_GetServerMajorVersion() returns wrong values for Oracle Server version < 18.1 HOT 1
- OCI_RefToText() return garbage when charset is OCI_CHARSET_WIDE HOT 1
- Error occurred at OcilibEnvironmentInitialize: Cannot load OCI shared library (oci.dll) HOT 4
- Error occurred at OcilibResultsetFetchFirst: A null Resultset handle has been provided HOT 5
- Regarding the use of connection pool to obtain links, will it be automatically recycled by connection pool? HOT 1
- I don't know why I suddenly reported this error: ocilib\include\ocilibcpp\detail\exception.hpp(92): error C2061: syntax error: identifier 'nothrow' HOT 1
- Regarding using ocilib::Pool to get links ,what happens if the maximum link is reached? HOT 1
- symbol not found in flat namespace '_OCIAQDeq' (macOS arm64) HOT 3
- Wrapper for OCINlsGetInfo() HOT 1
- On connection pool problem HOT 6
- On the limitation of the number of preprocessing bindings? HOT 1
- Why does ocilib::Resultset restrict the default construct? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocilib.