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]

Internal compiler error 383.


Here is the code used:

--

#include <iostream>

class Fun {
public:
        void disp(char const *const something) { cout << (something) << endl; }
};

using Fun::disp;

int
main(void)
{
        disp("Hello World!");

        return 0;
}

--

Compiler: egcs-2.91.66 (Red Hat Linux 6.2)
Compiler options: g++ -g -Wall -ansi -pedantic fun.cpp -o fun

I hope this helps.

--
Marco Soeima

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