Comments (2)
GNAT community Edition doesn't support Ada before Ada 2012. See here.
Use other compiler or remove -gnat95
from your project file.
This is definitely not a GPS bug.
from gnatstudio.
I made some follow-up. The MSYS2 on Windows 64 pacman
Ada compiler is GCC v7.3.
mingw-w64-x86_64-gcc-ada 7.3.0-2 (mingw-w64-x86_64-toolchain)
GNU Compiler Collection (Ada) for MinGW-w64
gnatmake.exe --version
GNATMAKE 7.3.0
Copyright (C) 1995-2017, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This Ada compiler supports the -ada95 switch and all the Ada-s: 👍
Usage: gnat1 switches sfile
sfile Source file name
-g Generate debugging information
-Idir Specify source files search path
-I- Do not look for sources in current directory
-O[0123] Control the optimization level
:
-gnatyN Cancel all previously set style checks
-gnatzc Distribution stub generation for caller stubs
-gnatzr Distribution stub generation for receiver stubs
-gnat83 Ada 83 mode
-gnat95 Ada 95 mode
-gnat2005 Ada 2005 mode
-gnat2012 Ada 2012 mode (default)
-gnat-p Cancel effect of previous -gnatp switch
.file "<stdin>
And I was able to run the compiler OK without the invalid switch
error.
So there is a workaround for anyone passing this way and not having access to Ada 83, 95 and 05.
Alas ... the GNU gnat1
version is actually even LESS helpful. There is no version option at all (not even a disabled one). 👎
from gnatstudio.
Related Issues (20)
- Drag & Drop from File Explorer to GNAT Studio doesn't do anything HOT 5
- With binder shared, unable to automatically set exception breakpoint HOT 1
- Gnat Studio and the language server processes saturate a core for minutes with large arrays HOT 5
- Where's the Macintosh release? HOT 1
- Improvement of mouse-over message for inherited subprogram call HOT 1
- Idea: split comments and literal strings on Return keypress HOT 2
- Feature Suggestion: Alire Support
- Dependency List Out of Date HOT 2
- Latests release (20230501) crashes at start-up on Windows 11; libglib2.0-0.dll with exception 0x400000015 HOT 3
- gnatdoc: Unexpected reappearance of previous parameter for custom tags present in the same line HOT 2
- Unable to build gnatstudio - several HOT 1
- macOS Sonoma 14.1 version | M2 gnat is not working
- Installing newer version of GNATSTUDIO, now I cannot build anything HOT 6
- Idea: suggestion for missing "with Ada.Strings.Fixed" and "Ada.Characters.Handling" HOT 1
- Continuous Release 20240506 app image fails to create a directory due to the mount point being read-only.
- CR 20240506: Compiler errors do not get highlighted HOT 2
- Side effect of change for Python 3.11 in configure.
- Autocomplete Delimiters HOT 1
- LAL Highlighters (Continuous Build Issue) HOT 1
- iterator specification refused witihout subtype qualification
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 gnatstudio.