How to generate compile time errors?
<p>I would like to be able to do something like this:  </p>

<pre><code>   void f(int*p = nullptr)
    {
    if (!p)
{
//HERE I WOULD LIKE TO HAVE AN MSG THAT WOULD BE DISPLAYED DURING COMPILATION AS A WARNING POSSIBLY
}
    }
</code></pre>
