From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: GNAT equivalent to gcc's #warning directive?
Date: Sun, 3 Jul 2016 09:05:39 +0300
Date: 2016-07-03T09:05:39+03:00 [thread overview]
Message-ID: <dtro9hFg8hhU1@mid.individual.net> (raw)
In-Reply-To: <c2ed036d-79d4-4a06-aaa4-213e96b77dd5@googlegroups.com>
On 16-07-03 04:01 , Warren wrote:
> I vaguely recall there was a gnat pragma to cause the compiler to
> spit out a user defined message. In C++ I often insert a cpp #warning
> when I need to go back and revisit some code. That way it nags me
> every time I build the project, until it gets addressed.
>
> I'm looking for something similar in gnat. I thought it was pragma
> Warnings(), but that appears to be for known compiler warnings.
Compile_Time_Warning:
http://docs.adacore.com/gnat_rm-docs/html/gnat_rm/gnat_rm/implementation_defined_pragmas.html#pragma-compile-time-warning
--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
. @ .
next prev parent reply other threads:[~2016-07-03 6:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-03 1:01 GNAT equivalent to gcc's #warning directive? Warren
2016-07-03 6:05 ` Niklas Holsti [this message]
2016-07-04 0:55 ` Warren
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox