Re: bfin c++ problem

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

 



On 21 July 2016 at 04:05, Oliver Kullmann wrote:
> Hello,
>
> a C++ compiler is not required to recognise "main(void)":

That's incorrect.

Although I consider (void) parameter lists to be an abomination in
C++, "int main(void)" has exactly the same type as "int main()" which
is one of the types that all implementations must support.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux