| delorie.com/archives/browse.cgi | search |
| From: | Paul Richards <Paul AT dunvegan1 DOT demon DOT co DOT uk> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: How do I fix this "warning"? |
| Date: | Sat, 22 May 1999 14:14:45 +0100 |
| Organization: | Paul's house |
| Message-ID: | <9jZVJBAF3qR3Ewpp@dunvegan1.demon.co.uk> |
| References: | <TTye1DAtZaQ3Ewmi AT dunvegan1 DOT demon DOT co DOT uk> |
| NNTP-Posting-Host: | dunvegan1.demon.co.uk |
| X-NNTP-Posting-Host: | dunvegan1.demon.co.uk:193.237.111.243 |
| X-Trace: | news.demon.co.uk 927382303 nnrp-09:5582 NO-IDENT dunvegan1.demon.co.uk:193.237.111.243 |
| X-Complaints-To: | abuse AT demon DOT net |
| MIME-Version: | 1.0 |
| X-Newsreader: | Turnpike (32) Version 4.01 <5Y9PmoTxnkdx6tAFcQ+gcCx86I> |
| Lines: | 19 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Paul Richards writes, >Hi, >How do I fix the warning that I get from the compiler on this: > extern Ship* const pships=(new Ship[num_bots]); >The compiler gives me a warning saying "'pships' is initialised and >declared 'extern'". > >And why does that generate a warning when something like: > extern const double height=15.6; >doesn't? Well no-one seems to know, how do I get rid of it with a #pragma compiler directive thingy?? -- Paul Richards (AKA Pauldoo) EMAIL paul AT dunvegan1 DOT demon DOT co DOT uk FAX +44 (0)870 0522086 HTTP www.dunvegan1.demon.co.uk/paul/ ICQ 14106503
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |