Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.os2.programmer.misc > #1256

Re: VAC4 & malloc error message

From "A.D. Fundum" <what.ever@neverm.ind>
Message-ID <o8uYFJ3iqTdG-pn2-tDQGE67ijFBd@localhost> (permalink)
Newsgroups comp.os.os2.programmer.misc
Subject Re: VAC4 & malloc error message
References <o8uYFJ3iqTdG-pn2-JPHCFJeE9dK6@localhost> <523b23b6$0$9518$9b4e6d93@newsspool1.arcor-online.net>
Organization Xennanews
Date 2013-09-20 01:22 +0200

Show all headers | View raw


> Did you accidentally switch to C++ mode?

I'll try to verify that later, I restored the system after having seen
v4 for OS/2 for the first time (not enough disk space on all systems 
to allow for several installed compilers anyway). I did use the IDE, 
so it could be some default setting indeed.

> "_HAND1 *".

Translation error ("_TRADE1 *") by me in the error description, but it
didn't matter.

> To be safe write
 
> if (NULL==(trade1=(TRADE1*)malloc(MAXDAYS*sizeof(TRADE1))))

knowledge++; thanks!


--

Back to comp.os.os2.programmer.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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