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 PATCH] Warn about variadic main (PR c/60156)


On Thu, May 01, 2014 at 11:37:58PM +0000, Joseph S. Myers wrote:
> As a matter of QoI we should also diagnose use of _Atomic in the return 
> type or argument types of main (something I deferred doing in the initial 
> _Atomic support).

Ok, I opened PR61077 and I'm taking it.  But I wonder if I should
diagnose if the second parameter is e.g.:
_Atomic char **argv;
char *_Atomic *argv;

My current patch diagnoses only
char **_Atomic argv;
since I'm not looking through the pointers.

	Marek


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