Liste des Groupes | Revenir à l c |
On 08/04/2025 18:28, bart wrote:On 08/04/2025 15:50, David Brown wrote:On 08/04/2025 13:35, bart wrote:
But it is true that some compilers have by default supported an
extension that was designed to make interoperability with Fortran
programs easier
Which means a pile of badly written programs.
That is why I said it was a bad idea for gcc to have "-fcommon" as
the default. It is a real shame that it took so long to change it.
However, while that default meant that some people wrote C code with
a misunderstanding of linkages and the difference between
declarations and definitions, most C programmers don't make that
mistake. When gcc eventually changed the default, it did not lead to
wide-spread breakage of code.
Les messages affichés proviennent d'usenet.