comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Need of help Leonid(dulman@ibm.net)
Date: 1997/02/12
Date: 1997-02-12T00:00:00+00:00	[thread overview]
Message-ID: <dewar.855750810@merv> (raw)
In-Reply-To: 5dpftl$qi@fozzie.sun3.iaf.nl


Geert said

<<Of course when this package is instantiated with a 32-bit integer type
it doesn't make sense to use the full set on many machines, but IMHO it
is fine to instantiate the package. Only when a program uses operations
on Set from the instantiated generic a warning should be given.
>>

Well a general point on warnings is that they are warnings and not errors
precisely because you can't be sure they are errors. I disagree that the
warning in the generic case is inappropriate. If you create this
instantiation, it is useful to know that it may have limited use AT THE
TIME YOU CREATE IT, not later when you instantiate it.

You can always use pragma Warnings (Off) before the particular declaration
and pragma Warnings (On) after it to kill a specific warning.

You can never satisfy everyone with warnings, since some people want to be
warned more than others :-)





  parent reply	other threads:[~1997-02-12  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-08  0:00 Need of help Leonid(dulman@ibm.net) dulman
1997-02-08  0:00 ` Robert Dewar
1997-02-10  0:00   ` Thomas Hoffmann
1997-02-10  0:00     ` Robert Dewar
     [not found]       ` <5dpftl$qi@fozzie.sun3.iaf.nl>
1997-02-12  0:00         ` Robert Dewar [this message]
1997-02-13  0:00           ` Keith Thompson
1997-02-12  0:00     ` Rex Reges
1997-02-15  0:00       ` Keith Thompson
1997-02-17  0:00         ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox