Comments (5)
Hi Frank, thanks for the interest. Investigating this now
from adadoom3.
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.
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.
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.
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)
- Fix linux build script HOT 1
- Removal of generic protected HOT 1
- objectada HOT 2
- incomplete stack traces HOT 1
- Libraries HOT 7
- Makefile removal? HOT 13
- Slow tasks HOT 3
- Is bundling all the libraries really a good idea? HOT 4
- Linux build broken for 13 days now HOT 20
- Suggestions for api design
- Doom 3 fonts HOT 3
- Accidentally Committed File HOT 1
- Changing Word_Size has no Effect
- Linux Implementation HOT 17
- won't build on Windows 10 Pro running 32-bit Ada HOT 3
- there is no mention in the main README about what operating system / tool chain to use HOT 1
- Is the README correct? On the master branch there is no Setup directory. Am I not supposed to use master? HOT 2
- vkDestroySwapchainKHR -> Swapchain(ERROR) HOT 2
- Compile error in a-comutr.adb
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 adadoom3.