From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Hint for users of AdaDep (-m, -o, -r and -w options)
Date: Tue, 05 Jun 2012 08:42:33 +0200
Date: 2012-06-05T08:42:33+02:00 [thread overview]
Message-ID: <op.wfe3k7eaule2fv@douda-yannick> (raw)
In-Reply-To: op.wfe26sa6ule2fv@douda-yannick
Le Tue, 05 Jun 2012 08:33:54 +0200, Yannick Duchêne (Hibou57)
<yannick_duchene@yahoo.fr> a écrit:
> Hi happy AdaDep users,
>
> Don't know if this was already noticed somewhere, but I've just noticed
> some care must be taken when one use the “-w“ option in a specific
> circumstance: this option direct the adadep command to overwrite the
> output file specified by the “-o <file>” option. If you do so *with* the
> “-r” option *without* the “-m” option, you will a get an output file
> looking like truncated. The output file will be overwritten for each
> processed units spec' and body. When the “-m” option is specified, this
> undesired behavior is not exposed.
>
> Conclusion: if you use the options “-o” “-r” and “-w” all together,
> always serve it with an “-m” option (this will also prevent you from
> erroneously suspecting a bug in adadep ;-) ).
Oh, shit! I wanted to say AdaDep (sorry for the wrong thread's title). In
the above, replace all adactl occurrences, by adadep (that's me, which is
buggy). Fixed in the quote.
--
“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
next prev parent reply other threads:[~2012-06-05 6:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-05 6:33 Hint for users of AdaControl (-m, -o, -r and -w options) Yannick Duchêne (Hibou57)
2012-06-05 6:42 ` Yannick Duchêne (Hibou57) [this message]
2012-06-06 7:39 ` Hint for users of AdaDep " J-P. Rosen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox