Internal compiler error 373

Eric NICOLAS nicolas@bnp-eng.remcomp.com
Wed Oct 21 08:10:00 GMT 1998


I've got this internal compiler error on a little C++ source which is
not syntaxicaly correct (but I should have a nice error message, no ??).

My plateform is:
    Linux redhat 5.1
    egcs --version reports:  egcs-2.91.50

And the source (t.cpp) is attached.
The error is that at the indicated line, the 'deviate' template class
should
be instanciated with a template argument, that is:
    typedef double (*pfx)(double);
    .....
    Functor::test("Functor2",sin,Functor::deviate?pfx>(sin));

Eric Nicolas.

--
------------------------------------------------------------------
-------> Linux : Why use Windows when doors are opened ? ?--------
------------------------------------------------------------------
Eric NICOLAS                               Tel Pro :01.40.14.01.39
nicolas@bnp-eng.remcomp.com     OU           enicolas@createur.org
Please visit my web site:            http://193.55.36.92/enicolas/
------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.cpp
Type: text/x-c++
Size: 1541 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19981021/b39b272d/attachment.bin>


More information about the Gcc-bugs mailing list