comp.lang.ada
 help / color / mirror / Atom feed
* Simple Warnings Needs
@ 2011-02-23 18:52 Rego
  2011-02-23 19:56 ` mockturtle
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Rego @ 2011-02-23 18:52 UTC (permalink / raw)


I would like to know (in more details than gnat documentation) the criticality of these warnings options: 
 ** "-gnatwd" (Implicit dereferencing)
 ** "-gnatwf" (Unreferenced formals)
 ** "-gnatwh" (Hiding)
 ** "-gnatwm" (Modified but unreferenced variables)
 ** "-gnatwk" (Variables that could be constants)

I mean, for instance, a code with several variables that could be constants, even in local procedures is an ugly code, not clean, but generally it's ok if works. But I just want to understand what kind of other complications that code could get due to not fixing these type of constructs. Someone once told me that it could bring out code vulnerabilities, the binary app could become "hackeable", but he gave not a deep explanation (so I cannot convince others about this). And I did not find in ARM05 and gnat documentation. So, could someone give me a hint?

Regards.



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

end of thread, other threads:[~2011-02-26  3:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-23 18:52 Simple Warnings Needs Rego
2011-02-23 19:56 ` mockturtle
2011-02-23 23:07   ` jpwoodruff
2011-02-23 20:06 ` Ludovic Brenta
2011-02-23 21:55 ` Martin
2011-02-24  8:26   ` Markus Schöpflin
2011-02-26  3:51     ` Rego

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