This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pure virtual functions bug in egcs


If I have to post this bug once a week until it is fixed, I will do so.

  $ cat t.C
  class bug {
  public:
    virtual void purevirtual()=0;
  };
  main() { }
  $ egcc -v
  Reading specs from /usr/lib/gcc-lib/alphaev56-unknown-linux-gnu/egcs-2.91.46/specs
  gcc version egcs-2.91.46 19980707 (gcc2 ss-980609 experimental)
  $ egcc -o t t.C
  /tmp/ccCrhWJl%O: In function `global constructors keyed to main':
  t.C(.text+0xa0): undefined reference to `bug::purevirtual(void)'
  collect2: ld returned 1 exit status
  $

I posted this bug at least four times now to various mailing lists, a
few times to this one, too.  Am I the only one with this problem?!
egcs-1.0.3a does not have this problem.

Felix


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]