| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: GCC says parse error |
-=> Quoting Erik Huelsmann to Thomas Waldmann <=-
EH> // ~TEditWindow
EH> TEditWindow::~TEditWindow(void)
EH> {
EH> if (Editor != NULL)
EH> {
EH> delete Editor;
EH> }; << should the ";" be present?
EH> ~TWindow;
EH> return;
EH> };
EH> stdwin.cc: In method `TEditWindow::~TEditWindow()':
EH> stdwin.cc:21: parse error before `;'
For this particular error, perhaps it doesn't like the ";" after the }
following the "if"? Borland doesn't require it, maybe it's not supposed to
be there.
If so, removing it just might make the second error disappear.
--- Blue Wave/Max v2.12 [NR]
* Origin: Sno-Valley Shareware Exchange * OS2 * (1:343/108)SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 343/108 1 138/103 3615/50 396/1 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.