comp.lang.ada
 help / color / mirror / Atom feed
* GNAT and “pragma Restrictions (No_Implementation_Pragmas);”
@ 2011-11-27 22:00 Yannick Duchêne (Hibou57)
  2011-11-27 23:01 ` J-P. Rosen
  0 siblings, 1 reply; 3+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2011-11-27 22:00 UTC (permalink / raw)


Hi all,

Is this normal behavior or not ? If a gnat.adc file contains

     pragma Restrictions (No_Implementation_Pragmas);

Then at compile time, I get restrictions violation error for each type and  
subprogram predicate. Cannot use any “with Pre => …” and others. Or may be  
I did not understood the meaning of this pragma ?

-- 
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: [Epigrams on Programming — Alan J. — P. Yale University]



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-28 13:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-27 22:00 GNAT and “pragma Restrictions (No_Implementation_Pragmas);” Yannick Duchêne (Hibou57)
2011-11-27 23:01 ` J-P. Rosen
2011-11-28 13:21   ` Yannick Duchêne (Hibou57)

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