[LC++]warning: initialized and declared `extern'

choube mehul choube_mehul at yahoo.com
Mon Feb 21 21:55:02 UTC 2005


Hi,

i am getting following warning

warning: `CLSID_sigSchedule' initialized and declared
`extern'

should i ignore it? or if not how to fix it?

Thanks,
Mehul.


/******* Header file -- Start *******/

#ifdef SIG_DEFINE_EXTERN_GUIDS
#define SIG_DEFINE_UUID(uuidtype, name, a, b, c, d, e,
f, g, h, i, j, k) \
        SIG_EXTERN_C const uuidtype name = \
            { a, b, c, { d, e, f, g, h, i, j, k } };
#elif defined(SIG_EXTERN_GUIDS)
#define SIG_DEFINE_UUID(uuidtype, name, a, b, c, d, e,
f, g, h, i, j, k) \
        SIG_EXTERN_C const uuidtype name;
#else
#define SIG_DEFINE_UUID(uuidtype, name, a, b, c, d, e,
f, g, h, i, j, k) \
        const uuidtype name = { a, b, c, { d, e, f, g,
h, i, j, k } };
#endif

/******* Header file -- End *******/

/******* Source file -- Start *******/

#if defined(SIG_EXTERN_GUIDS) /* { */
#undef SIG_EXTERN_GUIDS			/* This should be defined
for all files that
								   use the Scheduling Service */
#endif /* } */
#if !defined SIG_DEFINE_EXTERN_GUIDS /* { */
#define SIG_DEFINE_EXTERN_GUIDS /* This can only be
defined once */
#endif /* } */

/******* Source file -- End *******/


________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony




More information about the tuxCPProgramming mailing list