Giter Club home page Giter Club logo

Comments (5)

AdaDoom3 avatar AdaDoom3 commented on May 30, 2024

Hi Frank, thanks for the interest. Investigating this now

from adadoom3.

AdaDoom3 avatar AdaDoom3 commented on May 30, 2024

@FrankRuben

You are correct, ASCII.CR should be Item instead. Additionally, the function as a whole is redundant given the existence of Ada.Strings.Wide_Unbounded.Count... so the two Count functions should just be completely removed anyway.

I will update this in my next patch when I finally nail down staging of surfaces Vulkan, but if you would like to submit this small change you are certainly welcome to : )

Best regards, Justin

from adadoom3.

FrankRuben avatar FrankRuben commented on May 30, 2024

Hi Justin,

I gave it a try, but I'm getting various compile errors - using gprbuild -p -P neo.gpr - such as:

neo-api-vulkan.ads:873:12: prefix of "Wide_Image" attribute must be a type
neo-core-console.adb:213:45: prefix of "Wide_Image" attribute must be a type
neo-engine-renderer.adb:1596:92: value may be affected by call to "C" because order of evaluation is arbitrary

and my Ada-fu is just good enough to compile simple single-file standalones. Do you have a quick tip? Otherwise I think it would take me an unproportionally larger effort to make that small fix.

Best regards, Frank

from adadoom3.

OneWingedShark avatar OneWingedShark commented on May 30, 2024

neo-api-vulkan.ads:873:12: prefix of "Wide_Image" attribute must be a type
neo-core-console.adb:213:45: prefix of "Wide_Image" attribute must be a type

What you probably have here is Variable'Wide_Image... the error-message is saying that the attribute "Wide_Image" doesn't apply to a variable, but rather needs a type. (Something like Integer'Wide_Image.)

neo-engine-renderer.adb:1596:92: value may be affected by call to "C" because order of evaluation is arbitrary

What you have here seems to be some possible aliasing, something like Proc (X,Y : Integer; Z : In Out Integer) being called with Proc(C,B,C) -- or maybe something like Fn(X : in out Integer) return Integer; C:= Fn(C).

from adadoom3.

AdaDoom3 avatar AdaDoom3 commented on May 30, 2024

@OneWingedShark @FrankRuben

It appears your compiler is out of date, I think the new GPL compiler should handle the new Ada 2020 'Image attributes.

Also, I will make sure to test with GPL for future releases so that building my project doesn't require GNATPro.

See: http://www.ada-auth.org/cgi-bin/cvsweb.cgi/ai12s/ai12-0124-1.txt?rev=1.9&raw=N

from adadoom3.

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.