This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C/C++ diagnostics guidelines


Manuel LÃpez-IbÃÃez <lopezibanez@gmail.com> writes:

> On 17 October 2014 20:04, Manuel LÃpez-IbÃÃez <lopezibanez@gmail.com> wrote:
>> On 17 October 2014 19:33, Joseph S. Myers <joseph@codesourcery.com> wrote:
>>> On Fri, 17 Oct 2014, Manuel LÃpez-IbÃÃez wrote:
>>>
>>>> Thus, I drafted some guidelines
>>>> at:https://gcc.gnu.org/wiki/Better_Diagnostics#guidelines
>>>>
>>>> Please, could you take a look and comment whether I got it right/wrong?
>>>
>>> Yes, that looks right to me.
>>
>> Thanks!
>>
>> I added guidelines also about locations and warning options.
>
> I believe there are also some rules about when to use some special
> line-map functions that arise when warning about macros like NULL, but
> I am not aware of the specifics. It would be useful if someone added
> those.
>
> Dodji, Paolo? Do you know what I'm talking about?

Hmmh, I am not sure.  Do you have any example of warning about such
macros?

Cheers,

-- 
		Dodji


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]