[comp.lang.c] const declarator in C

cramer@optilink.UUCP (Clayton Cramer) (08/11/90)

I've just started to use the "const" keyword in Microsoft C, and 
I'm a little mystified by something.

    const char* HdrList[] = {"DS1 Cross-Connections"};

    typedef struct ListTag
        {
        const char **pHeader;
        ...
        } tList;

    const tList DS1CrossConnList = {HdrList, ...

gives:

    warning C4090: different 'const/volatile' qualifiers

Any idea why it's complaining?
-- 
Clayton E. Cramer {pyramid,pixar,tekbspa}!optilink!cramer
"Our Constitution is color-blind.  The arbitrary separation of citizens,
on the basis of race... is a badge of servitude wholly inconsistent with
civil freedom." -- Justice John Marshall Harlan (1896)