Re: ada compiler?



Since, my version of GNAT by default is set to the "High_Integrity" Mode
the program always takes the CONSTRAINT_ERROR exits unless the
correct "pragma Suppress" or "pragma Restrictions" is set. Such as
adding:

pragma Suppress ( All_Checks ) ;

So never assume that you need an options less you have proven that it
is needed on that version. Plus, if you switch vendor or newer releases
that option may not exist.

And as for newbees, let them enjoy the power and beauty of Ada before
getting into the implementation junk that destroys their desire to support
and promote Ada. Because they may never need the implementation junk
that you are required to used. Or may be you want Ada to DIE. And the
implementation junk such as command line options is what a lot of
newbees use to HATE Ada. I know a number of people who hate
C/C++ because of the command line options that you have to set.

In <QPednZmRA_Te8KjanZ2dnUVZ_jednZ2d@xxxxxxxxxxx>, tmoran@xxxxxxx writes:
Your program work correctly with or without the command line option!
Using two different operating systems, Linux and FreeBSD. So, what
problem should I have seen?
I would hope it works correctly! With -gnato "correctly" means it
should print "it is Ada" and without -gnato "correctly" means it should
print "it is not Ada" Is that not the behavior you observe?

.



Relevant Pages

  • Re: ada compiler?
    ... Not a simple command line answer which is vendor and/or version ... how many beginners first downloads a GNAT version that requires: ... Most beginners that are learning Ada just use: ... always use the standard Ada language concepts first. ...
    (comp.lang.ada)
  • Re: Ada.Command_Line and wildcards
    ... we did in fact design an Ada command language for our debugger. ...
    (comp.lang.ada)
  • Re: GCC conflict on Ubuntu for mixed Ada/C++ project
    ... When I start gps_exe from command line, ... I don't want to be unpleasant, but I have to criticized the Ada ... Compared to the C/C++ community, Ada really needs fresh blood and it ... Check on Distrowatch, Ubuntu is ...
    (comp.lang.ada)
  • Setting an environment variable with an ampersand but no quotes
    ... How, from a command line, can I set the environment variable 'user' to ... set user=Rich & Ada ... "Rich & Ada" ... results in the same error message as #1 above. ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Setting an environment variable with an ampersand but no quotes
    ... > How, from a command line, can I set the environment variable 'user' to ... > Rich & Ada ... Todd Vargo ...
    (microsoft.public.win2000.cmdprompt.admin)