🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #433

Problem with gcc(++) 2.2.2

#433
From: Frederic Cirera
Date: Tue, 06 Oct 1992 00:07
46 lines
1482 bytes
Hy network friends.


gcc-2.2.2 dosen't work when I compile this code.

// This may look like C code, but it is really -*- C++ -*-

#ifndef _MESSAGE_H_
#define _MESSAGE_H_

#include "window.h"
#include "event.h"

enum MsgType{ normal = 0, error, work, help};

class Message : public Window {
public:
	Message( char *, MsgType = normal, char * = 0);
	Message( int, int, MsgType = normal, char * = 0);

	~Message() { ; }

	ProcessCode Process( Event *);
};

#endif /* _MESSAGE_H_ */



Produce this error.

mess.h: In method `Message::~Message ()':
In file included from dbtools.C:19:
mess.h:16: too few arguments for method `operator delete'



All ideas are welcome on my e-mail box. Thanks.

Fred.
-- 
   +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
   | Frederic CIRERA             |  E-mail : fred@gna.axis-design.fr        |
   | Av de la republique         |  Home   : 42 05 17 66                    |
   | 91374 Verrieres le buisson  |  Office : 69 20 45 05                    |
Technical Details
Message-ID: <1992Oct6.000755.5570@gna.axis-design.fr>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!agate!doc.ic.ac.uk!uknet!mcsun!corton!gna!fred

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!agate!doc.ic.ac.uk!uknet!mcsun!corton!gna!fred
From: fred@gna.axis-design.fr (Frederic Cirera)
Newsgroups: gnu.g++.help,gnu.gcc.help,comp.lang.c++
Subject: Problem with gcc(++) 2.2.2
Message-ID: <1992Oct6.000755.5570@gna.axis-design.fr>
Date: 6 Oct 92 00:07:55 GMT
Organization: GNA c/o Axis Design 119 rue de Flandre 75019 Paris
Lines: 46