TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: BILL BIRRELL
from: TOM TORFS
date: 1998-04-27 22:50:00
subject: Functions default to returning int

* Reply to a message in personal_mail.
Bill Birrell wrote in a message to Tom Torfs:
[about the implicit declaration of main() returning int]
 > What's wrong with is that in the next revision of the
 > C standard it will most likely be prohibited.
 BB>     But in the meantime it *is* true and correct, so your comment
 BB> is less than wholly appropriate. We cannot anticipate changes which
 BB> have not yet occurred, or substitute our opinions on probability
 BB> for established facts.
AFAIK, relying on implicit declarations has been considered bad programming 
practice for quite some time. Furthermore, a draft for C9X was published so 
it becomes quite easy to "anticipate" most of the changes for the near future 
of C. 
 BB> I personally doubt that you *can* make such a change without 
 BB> invalidating all legacy code, and the present standard forbids 
 BB> *that*.
How about:
1.8 FUTURE DIRECTIONS

   Certain features are obsolescent , which means that they may be considered 
for withdrawal in future revisions of the Standard.  They are retained in the 
Standard because of their widespread use, but their use in new 
implementations (for implementation features) or new programs (for language 
or library features) is discouraged.  
greetings,
Tom
tomtorfs@village.uunet.be
--- timEd/2 1.10+
---------------
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.