Code Monkey home page Code Monkey logo

Comments (7)

vrogier avatar vrogier commented on September 28, 2024 1

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.

vrogier avatar vrogier commented on September 28, 2024

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.

unficyp avatar unficyp commented on September 28, 2024

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.

vrogier avatar vrogier commented on September 28, 2024

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.

unficyp avatar unficyp commented on September 28, 2024

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.

vrogier avatar vrogier commented on September 28, 2024

Sorry, I gave you the hint while I was away from the keyboard.

Correct syntax is:

 template<class, int>
friend class Lob;

from ocilib.

vrogier avatar vrogier commented on September 28, 2024

Hi,

v4.7.6 released.

Regards,

Vincent

from ocilib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.