Git Product home page Git Product logo

Comments (4)

AgnerF avatar AgnerF commented on July 17, 2024

Please try to specify -std=c++17 and a suitable instruction set on the compiler command line

from version2.

GitHubLionel avatar GitHubLionel commented on July 17, 2024

Hi,

Yes, I use c++17. My command line is :
g++ -std=c++17 -DINSTRSET=7 "-Ivectorclass" -O3 -Wall -c -fmessage-length=0 -mavx -o "vectorclass\instrset_detect.o" "..\vectorclass\instrset_detect.cpp"
g++ -std=c++17 -DINSTRSET=7 "-Ivectorclass" -O3 -Wall -c -fmessage-length=0 -mavx -o main.o "..\main.cpp"

Maybe it is a problem of the Eclipse IDE interface. I rebuild the Index several times but warning messages still come back.

Regards,
Lionel

I complete my message :
I have the warning "'Vec8ib' is ambiguous ' because he found Vec8ib in vectori256.h and vectori256e.h. Maybe I should suppress vectori256e.h or vectori256.h ?
Ok, I suppress vectori256.h. Now I have only warning like this one :
Member 'ymm' was not initialized in this constructor vectorf256.h
and idem for y1, y0 in vectorf256e.h

from version2.

AgnerF avatar AgnerF commented on July 17, 2024

Don't include all the .h files. Include only vectorclass.h. The necessary header files will then be included automatically.
You can ignore the warning that ymm is not initialized.

from version2.

GitHubLionel avatar GitHubLionel commented on July 17, 2024

Ok thanks, that is only a problem with Eclipse IDE when I open some header files. He don't care about preprocessor directive.
But I have another problem.
I try vector3d add-on. I run the testbench_vector3d file. The testcase number 15 (rotate) crashes randomly with Vec3Dd (no crash with Vec3Df). My processor level is 7 (have AVX).
Testcase number 10 not compile (sorry it is normal, this case is not allowed).
Note : problem is maybe that MAX_VECTOR_SIZE is redefined to 512 in the file and I have defined to 256 in preprocessor settings.

from version2.

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.