home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!doc.ic.ac.uk!warwick!uknet!axion!planet.bt.co.uk!njs
- From: njs@planet.bt.co.uk (N.Sowatskey(nonNIS))
- Newsgroups: comp.lang.c++
- Subject: static chars and 2.0 v 2.1 cfront
- Keywords: static chars in 2.1 cfront
- Message-ID: <1993Jan27.092843.26431@planet.bt.co.uk>
- Date: 27 Jan 93 09:28:43 GMT
- Sender: news@planet.bt.co.uk
- Organization: DNM42, BT Labs, Martlesham Heath, Ipswich, UK.
- Lines: 15
- Originator: njs@andromeda
-
-
- With Sun's 2.0 cfront I use the following in a header file to define a text
- string which is used in a variety of places:
-
- static char someString [] = "Some Text";
-
- Which never seemed to worry 2.0 cfront. With 2.1 cfront from CenterLine, however I get the following message:
-
- warning: ::someString defined but not used
-
- Anyone know what has changed with the language requirements, and what I should do to get rid of the warning?
-
- Ta
-
- Nathan
-