|
From: | Paul Eggert |
Subject: | Re: [PATCH] AC_LANG_INT_SAVE: Modernize function declarators (C89 and above). |
Date: | Fri, 7 Aug 2020 16:44:16 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 8/7/20 1:01 PM, Vincent Lefevre wrote:
The program int main(void) { return 0; } compiles fine with g++, even using "-std=c++17 -pedantic".
I expect the problem was with non-GNU C++ compilers, not with g++. However, I'm not the C++ guy so I'm the wrong person to ask about the details. You could write to Bruno Haible - I think he was the one preferring 'int main () ...'.
[Prev in Thread] | Current Thread | [Next in Thread] |