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


 Сабж ? Или это только у меня ?

$cat test.cc
#include <map>
#include <iostream>

class ResItem : public std::map
    ResItem() : std::map() {};
    void print() { cout << "hello\n"; }

int main()
ResItem a;

    return 0;

 Знаю, что там ошибка, но:
$gcc -v test.cc
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
 /usr/lib/gcc-lib/i386-linux/2.95.4/cpp0 -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ test.cc /tmp/ccz4c5vn.ii
GNU CPP version 2.95.4 20011002 (Debian prerelease) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
 /usr/lib/gcc-lib/i386-linux/2.95.4/cc1plus /tmp/ccz4c5vn.ii -quiet -dumpbase test.cc -version -o /tmp/ccUImZxI.s
GNU C++ version 2.95.4 20011002 (Debian prerelease) (i386-linux) compiled by GNU C version 2.95.4 20011002 (Debian prerelease).
test.cc:5: Internal compiler error.
test.cc:5: Please submit a full bug report.
test.cc:5: Internal compiler error:
test.cc:5: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


To UNSUBSCRIBE, email to debian-russian-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: