Created on 2014-03-04.00:00:00 last changed 49 months ago
[Moved to DR at the May, 2015 meeting.]
Proposed resolution (November, 2014):
Change 126.96.36.199 [basic.start.main] paragraph 2 as follows:
An implementation shall not predefine the main function. This function shall not be overloaded.
Itshall have a declared return type of type int, but otherwise its type is implementation-defined. An implementation shall allow both...
Change 188.8.131.52 [basic.start.main] paragraph 3 as follows:
The function main shall not be used within a program. The linkage (6.6 [basic.link]) of main is implementation-defined. A program that defines main as deleted or that declares main to be inline, static, or constexpr is ill-formed. The name main is not otherwise reserved...
There does not appear to be any restriction on giving main() an explicit language linkage, but it should probably be either ill-formed or conditionally-supported.
|2017-02-06 00:00:00||admin||set||status: drwp -> cd4|
|2015-11-10 00:00:00||admin||set||status: dr -> drwp|
|2015-05-25 00:00:00||admin||set||messages: + msg6040|
|2015-05-25 00:00:00||admin||set||status: tentatively ready -> dr|
|2014-11-24 00:00:00||admin||set||messages: + msg5157|
|2014-11-24 00:00:00||admin||set||status: drafting -> tentatively ready|
|2014-07-07 00:00:00||admin||set||status: open -> drafting|