LINUX.ORG.RU

проблемы с компиляцией программ компиляторами icc, bc++ в системе с gcc 3.2.1.


0

0

Стоит Gentoo Linux, он полность откомпилирован gcc 3.2.1 (апгрейд/переход произошёл около месяца назад). И перестали компилироваться все проги компилятором icc 6.0 (до это всё было ОК). Поставил сейчас Kylix 3 Open Version, и bc++ имеет те же проблемы. Не компилируются все проги. Даже эта:

#include <iostream.h>

main() { cout << "Hello, World!\n"; return 0; }

icc выдаёт следующее: test.C /usr/include/stdio.h(44): error #77: this declaration has no storage class or ty pe specifier __BEGIN_NAMESPACE_STD ^

/usr/include/stdio.h(46): error: expected a ";" typedef struct _IO_FILE FILE; ^

/usr/include/stdio.h(47): error: identifier "__END_NAMESPACE_STD" is undefined __END_NAMESPACE_STD ^

/usr/include/stdio.h(51): error: identifier "FILE" is undefined __USING_NAMESPACE_STD(FILE) ^

/usr/include/stdio.h(62): error: expected a "{" typedef struct _IO_FILE __FILE; ^

/usr/include/wchar.h(76): error: identifier "wint_t" is undefined wint_t __wch; ^ и т.д.

bc++ пишет чуть иначе, но то же: Borland C++ 5.7 Open Edition Copyright (c) 1987, 2002 Borland test.C: Error E2141 /usr/include/stdio.h 46: Declaration syntax error Error E2141 /usr/include/stdio.h 51: Declaration syntax error Error E2141 /usr/include/stdio.h 88: Declaration syntax error Error E2141 /usr/include/stdio.h 142: Declaration syntax error Error E2141 /usr/include/stdio.h 152: Declaration syntax error Error E2141 /usr/include/stdio.h 158: Declaration syntax error Error E2141 /usr/include/stdio.h 181: Declaration syntax error Error E2141 /usr/include/stdio.h 200: Declaration syntax error Error E2147 /usr/include/stdio.h 202: 'FILE' cannot start a parameter declaration Error E2141 /usr/include/stdio.h 207: Declaration syntax error Error E2141 /usr/include/stdio.h 219: Declaration syntax error Error E2141 /usr/include/stdio.h 222: Declaration syntax error Error E2141 /usr/include/stdio.h 250: Declaration syntax error Error E2141 /usr/include/stdio.h 274: Declaration syntax error Error E2147 /usr/include/stdio.h 278: 'FILE' cannot start a parameter declaration Error E2141 /usr/include/stdio.h 285: Declaration syntax error Error E2147 /usr/include/stdio.h 289: 'FILE' cannot start a parameter declaration Error E2141 /usr/include/stdio.h 295: Declaration syntax error Error E2147 /usr/include/stdio.h 304: 'FILE' cannot start a parameter declaration Error E2141 /usr/include/stdio.h 315: Declaration syntax error Error E2141 /usr/include/stdio.h 349: Declaration syntax error Error E2141 /usr/include/stdio.h 379: Declaration syntax error Error E2147 /usr/include/stdio.h 382: 'FILE' cannot start a parameter declaration Error E2141 /usr/include/stdio.h 394: Declaration syntax error Error E2147 /usr/include/stdio.h 400: 'FILE' cannot start a parameter declaration Error E2228 /usr/include/stdio.h 400: Too many error or warning messages *** 26 errors in Compile ***

Задал вопрос на их сайте, но разговор зашёл в тупик: http://forums.gentoo.org/viewtopic.php?t=27474&highlight=icc

Кто что может сказать?


U menia ta je fignia... blin, nikakih opisaniy, nichego... pustaia forma ne kompiletsia... uje iz 3h istochnikov poproboval, dumal gluk distriba... esli ti reshil trable, skin` solution plz na mvd@sniip.ru

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.