🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.interviews
2 messages
2 total messages Started by Jonathan Polito Fri, 18 Dec 1992 20:59
InterViews not C++
#1370
Author: Jonathan Polito
Date: Fri, 18 Dec 1992 20:59
16 lines
905 bytes
So why do the InterViews developers continue to delete arrays with the
plain delete syntax? i.e.
a = new int[10];
delete a;

This clearly has undefined behavior in C++, yet InterViews continues
to rely upon it.

I've searched the entire iv-mail file and the FAQ, yet no one seems to
have mentioned this.

--
Jonathan E. Polito 		    Internet: jpolito@encore.com
Encore Computer Corp, 901 Kildaire Farm Rd, Cary, NC  27511  USA
919-481-3730/voice  				919-481-3868/FAX
Re: InterViews not C++
#1229
Author: Mark Linton
Date: Mon, 21 Dec 1992 22:36
14 lines
1096 bytes
In article <JPOLITO.92Dec18155929@sysgem1.encore.com>, jpolito@sysgem1.encore.com (Jonathan Polito) writes:
|> 
|> So why do the InterViews developers continue to delete arrays with the
|> plain delete syntax? i.e.
|> a = new int[10];
|> delete a;
|> 
|> This clearly has undefined behavior in C++, yet InterViews continues
|> to rely upon it.

Some InterViews code is old enough to run through compilers that
didn't understand delete[] (or worse yet, generated bad code).
Please send references to any such usages in 3.1 to interviews-bugs, and
they will be fixed in the future.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads