[cfe-dev] [ping][patch] Proposal to add new warning -Wdate-time

Prathamesh Kulkarni bilbotheelffriend at gmail.com
Mon Apr 28 10:06:28 PDT 2014


On Mon, Apr 28, 2014 at 10:28 PM, Philip Reames
<listmail at philipreames.com> wrote:
> Mostly to play devil's advocate...
>
> What would this warning gain us over simply using grep?  The use of the
> macro is purely a textual property, there's no real parsing required.
Although not realistic, the warning won't be issued if __DATE__/__TIME__,
gets undefined or redefined.
>
> If we do accept such a warning, having a more general category for
> reproducibility problems might be a better approach.  Time and Date are one
> example, but there may be others.
>
> Philip
>
>
> On 04/28/2014 08:44 AM, Prathamesh Kulkarni wrote:
>>
>> Hi,
>>      I am pinging for this patch, which proposes to add new warning
>> -Wdate-time:
>>
>> http://clang-developers.42468.n3.nabble.com/proposal-to-add-new-warning-Wdate-time-td4038953.html
>> I would be grateful if someone would review it for me.
>>
>> Thanks and Regards,
>> Prathamesh
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>



More information about the cfe-dev mailing list