home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!hal.com!hal!brennan
- From: brennan@hal.com (Dave Brennan)
- Newsgroups: comp.lang.c++
- Subject: Why is cfront to stupid to compile this?
- Message-ID: <BRENNAN.92Sep2172940@yosemite.hal.com>
- Date: 2 Sep 92 23:29:40 GMT
- Organization: HaL Computer Systems, Austin, TX
- Lines: 26
- NNTP-Posting-Host: yosemite.hal.com
-
- Attempting to compile this with cfront 2.1.03 08/31/90 reports:
-
- "foo.cc", line 8: error: foo::operator delete() declared with
- external linkage and called before defined as inline
- Compilation failed
-
- class foo
- {
- static void operator delete (void *);
- };
-
-
- inline void
- foo::operator delete (void *)
- {
- }
-
- Why, why, why?? This is just plain stoopid. Why does cfront think that
- declaring a class results in an inline call to the destructor? Other
- compilers can handle this. Who can I report cfront problems to anyhow?
-
- --
- Dave Brennan HaL Computer Systems
- brennan@hal.com (512) 794-2855
-
- Visit the Emacs Lisp Archive: archive.cis.ohio-state.edu:pub/gnu/emacs
-