Hi!

4-Сен-2006 20:00 [EMAIL PROTECTED] (Blair Campbell) wrote to
[EMAIL PROTECTED]:

BC> Support TC 2 compiler oddity (Arkady)
BC> +++ ren.c   4 Sep 2006 20:00:06 -0000       1.13
BC> -    if ( ext ) for( s = end; ( *ext = *s++ ); ) ext++;
BC> +    if ( ext ) for( s = end; ( *ext = *s++ ) != '\0'; ) ext++;

     This is not "oddity", this is smart compiler diagnostic, which may
prevent mistakes (for example, when you mistype "=" instead "=="). And here
added hint for compiler, that here we really want assignment. This trick is
well known and makes happy many compilers, which offer advanced diagnostic.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to