[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

test build of 4.9 started



Kate Feng wrote:
> Joel Sherrill wrote:
>   
>> Hi,
>>
>> I just started a test build of the 4.9 branch.
>> If all goes well, I will cut 4.9.2 once it is
>> finished.
>>
>> pr1385 will be closed.  I am building with
>> the latest patch.
>>
>> If you have an outstanding issue, yell now.
>>
>>   
>>     
> In cpukit/libmisc/dummy/dummy.c, should
> "int main( int, char **, char **); "
>
> be corrected as
>
> "int main( int, char **);"
>
> ?
>
> Is there a conflict ?
>   
The third parameter is historically environp but I have
not come across anything definitive that states what
main is supposed to be in the C99 standard.  I see a request
to clarify it so it is either:

int main()   OR
int main(int, char **)

but apparently now it allows main to be a void as well given
the comment.

Does anyone have the standard handy?
> Kate
>
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985