Reshaped doc's
[fw/sdcc] / doc / sdccman.html / node6.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
3 <!--Converted with LaTeX2HTML 99.1 release (March 30, 1999)
4 original version by:  Nikos Drakos, CBLU, University of Leeds
5 * revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
6 * with significant contributions from:
7   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 <HTML>
9 <HEAD>
10 <TITLE>1.4 Compatibility with previous versions</TITLE>
11 <META NAME="description" CONTENT="1.4 Compatibility with previous versions">
12 <META NAME="keywords" CONTENT="sdccman">
13 <META NAME="resource-type" CONTENT="document">
14 <META NAME="distribution" CONTENT="global">
15
16 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
17 <META NAME="Generator" CONTENT="LaTeX2HTML v99.1 release">
18 <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
19
20 <LINK REL="STYLESHEET" HREF="sdccman.css">
21
22 <LINK REL="next" HREF="node7.html">
23 <LINK REL="previous" HREF="node5.html">
24 <LINK REL="up" HREF="node2.html">
25 <LINK REL="next" HREF="node7.html">
26 </HEAD>
27
28 <BODY >
29 <!--Navigation Panel-->
30 <A NAME="tex2html278"
31  HREF="node7.html">
32 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> 
33 <A NAME="tex2html272"
34  HREF="node2.html">
35 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> 
36 <A NAME="tex2html266"
37  HREF="node5.html">
38 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A> 
39 <A NAME="tex2html274"
40  HREF="node1.html">
41 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A> 
42 <A NAME="tex2html276"
43  HREF="node61.html">
44 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A> 
45 <BR>
46 <B> Next:</B> <A NAME="tex2html279"
47  HREF="node7.html">1.5 System Requirements</A>
48 <B> Up:</B> <A NAME="tex2html273"
49  HREF="node2.html">1. Introduction</A>
50 <B> Previous:</B> <A NAME="tex2html267"
51  HREF="node5.html">1.3 Typographic conventions</A>
52  &nbsp <B>  <A NAME="tex2html275"
53  HREF="node1.html">Contents</A></B> 
54  &nbsp <B>  <A NAME="tex2html277"
55  HREF="node61.html">Index</A></B> 
56 <BR>
57 <BR>
58 <!--End of Navigation Panel-->
59
60 <H2><A NAME="SECTION00024000000000000000">
61 1.4 Compatibility with previous versions</A>
62 </H2>
63
64 <P>
65 This version has numerous bug fixes compared with the previous version.
66 But we also introduced some incompatibilities with older versions.
67 Not just for the fun of it, but to make the compiler more stable,
68 efficient and ANSI compliant. 
69 <BR>
70
71 <P>
72
73 <UL>
74 <LI>short is now equivalent to int (16 bits), it used to be equivalent
75 to char (8 bits)</LI>
76 <LI>the default directory where include, library and documention files
77 are stored is no in /usr/local/share</LI>
78 <LI>char type parameters to vararg functions are casted to int unless
79 explicitly casted, e.g.: 
80 <BR>
81 <TT>&nbsp;&nbsp;char a=3;</TT>&nbsp;
82 <BR>
83 <TT>&nbsp;&nbsp;printf (&#34;%d %c&#92;n&#34;,
84 a, (char)a);</TT>
85 <BR>
86 will push a as an int and as a char resp.</LI>
87 <LI>option -regextend has been removed</LI>
88 <LI>option -noreparms has been removed</LI>
89 </UL>
90 <I>&lt;pending: more incompatibilities?&gt;</I>
91
92 <P>
93 <BR><HR>
94 <ADDRESS>
95 <I>Johan Knol</I>
96 <BR><I>2001-07-13</I>
97 </ADDRESS>
98 </BODY>
99 </HTML>