Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.os2.programmer.misc > #1252
| From | "A.D. Fundum" <what.ever@neverm.ind> |
|---|---|
| Message-ID | <o8uYFJ3iqTdG-pn2-JPHCFJeE9dK6@localhost> (permalink) |
| Newsgroups | comp.os.os2.programmer.misc |
| Subject | VAC4 & malloc error message |
| Organization | Xennanews |
| Date | 2013-09-19 17:56 +0200 |
Seems to work with VAC3, fails with VAC4. Why?
Probably a basic error, an outdated copied coding style and/or a VAC4
error. No fixpaks installed, I just gave it a try.
#define MAXDAYS 264
typedef struct _TRADE1 {ULONG date;} TRADE1;
TRADE1 *trade1;
if (NULL==(trade1=malloc(MAXDAYS*sizeof(TRADE1))))
[Msg] CPP0216E: An expression of type "void*" cannot be converted to
"_HAND1 *".
--
Back to comp.os.os2.programmer.misc | Previous | Next — Next in thread | Find similar
VAC4 & malloc error message "A.D. Fundum" <what.ever@neverm.ind> - 2013-09-19 17:56 +0200
Re: VAC4 & malloc error message Marcel Müller <news.5.maazl@spamgourmet.org> - 2013-09-19 18:17 +0200
Re: VAC4 & malloc error message "A.D. Fundum" <what.ever@neverm.ind> - 2013-09-20 01:22 +0200
Re: VAC4 & malloc error message "A.D. Fundum" <what.ever@neverm.ind> - 2013-09-21 17:01 +0200
csiph-web