Xref: utzoo comp.lang.c:30998 comp.os.msdos.programmer:456 Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!optilink!cramer From: cramer@optilink.UUCP (Clayton Cramer) Newsgroups: comp.lang.c,comp.os.msdos.programmer Subject: const declarator in C Message-ID: <4163@optilink.UUCP> Date: 10 Aug 90 23:40:03 GMT Organization: Optilink Corporation, Petaluma, CA Lines: 24 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)