|
![](/i/fill.gif) |
In article <40e71339@news.povray.org> , Wolfgang Wieser <wwi### [at] gmx de>
wrote:
> Maybe you could even tell us where you found this information.
Section 5.1.2.2.3 of the ISO C 1999 standard - this is the section
specifying that main returns an "int" to the host environment. It also
explicitly states that if and only if the result is _not_ an "int" the
behavior is implementation defined. It does not make any provisions for
range reductions performed by the host environment.
Of course, this does not answer a more relevant _rhetoric_ question: Why is
there a need to butcher the program result on some systems in the first
place! A simple C "int" certainly does not require extraordinary amounts of
memory...
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |