Interesting C question

From: John Foust <jfoust_at_threedee.com>
Date: Wed Feb 6 09:20:24 2002

At 09:34 AM 2/6/2002 -0500, Cini, Richard wrote:
> The #define appears in multiple headers but are all
>defined to be the same value.

Run away! Make one #define and perhaps one header.

Be sure you are initializing the local variable in
code that is always executed, or better yet combine
the declaration and its initialization:

int sio00h (params...){
        int nSioStatus = SIO_WDB ;
        ... stuff
}

- John
Received on Wed Feb 06 2002 - 09:20:24 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:34:44 BST