TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Greg Bek <[log in to unmask]>
Reply To:
Date:
Tue, 28 Sep 1999 15:04:21 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
Once a unit has been Analyzed by Apex (which means
it has been checked for semantic consistency, which
doesn't have to be correct) you can then use:
Compile:Show:Unused
To find unused declarations, either variables or
with clauses.

Greg

> -----Original Message-----
> From: Team Ada: Ada Advocacy Issues (83 & 95)
> [mailto:[log in to unmask]]On Behalf Of Wretling Urban
> Sent: Friday, September 17, 1999 6:59 AM
> To: [log in to unmask]
> Subject: How do make Rational Apex Ada to show warnings!
>
>
> Hello!
>
> -- I have done some programming in C/C++, Java and Pascal. Now
> the turn has
> come to Ada, and I like it!
> -- I've seen some discussions that C programmers who starts coding in Ada
> writes the Ada code like it
> -- was C, kind of hard to read for a non C programmer I mean.
> Well I think I
> will stick to the more "readable"
> -- way of coding.
>
> Now for my question:
> I'm testing Rational Apex Ada ver - 2.0.2A for Win NT and can't find a way
> to display warnings when I compile the code. I would like to know if there
> are any unused variables in my code and if I have included packages that
> isn't used.
>
> I have tried to read the helpfiles but that didn't help much!!! Code_rules
> here and switches there, well my brain overheated there for a while :-)
>
> If anyone knows how to do this, please reply.
>
> By the way does anyone know where I can find a good and simple
> example that
> uses Open GL graphics, in Ada of course.
>
> Have a nice day!
>
> Urban Wretling
>

ATOM RSS1 RSS2