bug-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug Report


From: Greg Keyes
Subject: Bug Report
Date: Tue, 10 Apr 2001 10:24:03 +0100

xyz:~/C++(210)+>: g++ Test.cc
Test.cc: In function `void sub(char *)':
Test.cc:20: Internal compiler error.
Test.cc:20: Please submit a full bug report to
address@hidden'.
xyz:~/C++(211)+>: 

Test.cc
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream.h>
#include <fstream.h>
#include <string>
#include <iostream.h>
#include <vector>
//using namespace std;




void sub(char *pt)
{
        pt = new char [100] = {"xyx"};
}


int main()
{       
        char *pt;
        sub(pt);
}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]