Article View: comp.sys.atari.st
Article #40855Bug in TURBO-C V1.0
From: Joep Mathijssen
Date: Wed, 14 Feb 1990 10:37
Date: Wed, 14 Feb 1990 10:37
23 lines
868 bytes
868 bytes
Look at this C-code:
#define MAX -32768
main()
{
printf("1: %d\n", MAX);
printf("2: %d\n", (int)MAX);
}
Result:
1: -1
2: -32768
===============================================================================
Joep Mathijssen
TNO Institute for Perception
P.O. Box 23 Phone : +31 34 63 562 11
3769 ZG Soesterberg E-mail: tnosoes!joep@mcvax.cwi.nl
The Netherlands or: uunet!mcvax!tnosoes!joep
===============================================================================
Technical Details
Message-ID:
<801@tnosoes.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!hp4nl!tnosoes!joepShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!hp4nl!tnosoes!joep From: joep@tnosoes.UUCP (Joep Mathijssen) Newsgroups: comp.sys.atari.st Subject: Bug in TURBO-C V1.0 Message-ID: <801@tnosoes.UUCP> Date: 14 Feb 90 10:37:03 GMT Organization: TNO Institute for Perception, Soesterberg, The Netherlands Lines: 23