the_tux | J'ai un petit problème quand j'assaie de compiler des programmes sous Linux.
Voici l'erreur qui m'est retournée :
Code :
- g++ -c -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3//include -o main.o main.cpp
- In file included from /usr/lib/qt3/include/qcstring.h:46,
- from /usr/lib/qt3/include/qstring.h:42,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/string.h:40: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:40: error: syntax error before `)' token
- /usr/include/string.h:43: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:43: error: syntax error before `)' token
- /usr/include/string.h:52: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:52: error: syntax error before `)' token
- /usr/include/string.h:59: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:59: error: syntax error before `)' token
- /usr/include/string.h:62: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:62: error: syntax error before `)' token
- /usr/include/string.h:66: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:66: error: syntax error before `)' token
- /usr/include/string.h:76: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:76: error: syntax error before `)' token
- /usr/include/string.h:87: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:87: error: syntax error before `)' token
- /usr/include/string.h:94: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:94: error: syntax error before `)' token
- /usr/include/string.h:100: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:100: error: syntax error before `)' token
- /usr/include/string.h:107: error: syntax error before `(' token
- In file included from /usr/lib/qt3/include/qcstring.h:46,
- from /usr/lib/qt3/include/qstring.h:42,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/string.h:121: error: syntax error before `(' token
- /usr/include/string.h:134: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:134: error: syntax error before `)' token
- /usr/include/string.h:177: error: syntax error before `(' token
- /usr/include/string.h:181: error: syntax error before `(' token
- /usr/include/string.h:216: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:216: error: syntax error before `,' token
- /usr/include/string.h:223: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:223: error: syntax error before `)' token
- /usr/include/string.h:225: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:225: error: syntax error before `)' token
- /usr/include/string.h:231: error: syntax error before `(' token
- /usr/include/string.h:237: error: syntax error before `(' token
- /usr/include/string.h:269: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:269: error: syntax error before `)' token
- /usr/include/string.h:275: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:275: error: syntax error before `)' token
- /usr/include/string.h:279: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:279: error: syntax error before `)' token
- /usr/include/string.h:282: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:282: error: syntax error before `)' token
- /usr/include/string.h:285: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:285: error: syntax error before `)' token
- /usr/include/string.h:313: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:313: error: syntax error before `)' token
- /usr/include/string.h:324: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:324: error: syntax error before `,' token
- /usr/include/string.h:352: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:352: error: syntax error before `)' token
- /usr/include/string.h:354: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:354: error: syntax error before `)' token
- /usr/include/string.h:360: error: type specifier omitted for parameter `size_t'
- /usr/include/string.h:360: error: syntax error before `)' token
- In file included from /usr/lib/qt3/include/qstring.h:42,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/lib/qt3/include/qcstring.h: In function `uint qstrlen(const char*)':
- /usr/lib/qt3/include/qcstring.h:58: error: `strlen' undeclared (first use this function)
- /usr/lib/qt3/include/qcstring.h:58: error: (Each undeclared identifier is reported only once for each function it appears in.)
- /usr/lib/qt3/include/qcstring.h: In function `uint cstrlen(const char*)':
- /usr/lib/qt3/include/qcstring.h:83: error: `strlen' undeclared (first use this function)
- In file included from /usr/lib/qt3/include/qstring.h:46,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/limits.h:124:26: no include path in which to find limits.h
- In file included from /usr/include/c++/3.3.2/cstring:49,
- from /usr/include/c++/3.3.2/bits/char_traits.h:45,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/c++/3.3.2/cstddef: At global scope:
- /usr/include/c++/3.3.2/cstddef:52: error: `ptrdiff_t' not declared
- /usr/include/c++/3.3.2/cstddef:53: error: `size_t' not declared
- In file included from /usr/include/c++/3.3.2/bits/char_traits.h:45,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/c++/3.3.2/cstring:89: error: `strxfrm' not declared
- /usr/include/c++/3.3.2/cstring:90: error: `strcspn' not declared
- /usr/include/c++/3.3.2/cstring:91: error: `strspn' not declared
- /usr/include/c++/3.3.2/cstring:100: error: type specifier omitted for parameter `size_t'
- /usr/include/c++/3.3.2/cstring:100: error: syntax error before `)' token
- /usr/include/c++/3.3.2/cstring: In function `void* std::memchr(...)':
- /usr/include/c++/3.3.2/cstring:101: error: `void* std::memchr(...)' conflicts with previous using declaration `void* memchr(...)'
- /usr/include/c++/3.3.2/cstring:101: error: `__p' undeclared (first use this function)
- /usr/include/c++/3.3.2/cstring:101: error: `__c' undeclared (first use this function)
- /usr/include/c++/3.3.2/cstring:101: error: `__n' undeclared (first use this function)
- In file included from /usr/include/_G_config.h:44,
- from /usr/include/libio.h:32,
- from /usr/include/stdio.h:72,
- from /usr/include/c++/3.3.2/cstdio:52,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/gconv.h: At global scope:
- /usr/include/gconv.h:72: error: type specifier omitted for parameter `size_t'
- /usr/include/gconv.h:72: error: syntax error before `*' token
- /usr/include/gconv.h:88: error: type specifier omitted for parameter `size_t'
- /usr/include/gconv.h:88: error: syntax error before `*' token
- /usr/include/gconv.h:97: error: type specifier omitted for parameter `size_t'
- /usr/include/gconv.h:97: error: syntax error before `*' token
- /usr/include/gconv.h:174: error: 'size_t' is used as a type, but is not defined as a type.
- In file included from /usr/include/stdio.h:72,
- from /usr/include/c++/3.3.2/cstdio:52,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/libio.h:53:21: stdarg.h: No such file or directory
- In file included from /usr/include/stdio.h:72,
- from /usr/include/c++/3.3.2/cstdio:52,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/libio.h:230: error: type specifier omitted for parameter `size_t'
- /usr/include/libio.h:351: error: type specifier omitted for parameter `size_t'
- /usr/include/libio.h:351: error: syntax error before `)' token
- /usr/include/libio.h:360: error: type specifier omitted for parameter `size_t'
- /usr/include/libio.h:360: error: syntax error before `)' token
- /usr/include/libio.h:472: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/libio.h:474: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/libio.h:476: error: syntax error before `(' token
- /usr/include/libio.h:521: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/libio.h:523: error: type specifier omitted for parameter `__gnuc_va_list'
- In file included from /usr/include/c++/3.3.2/cstdio:52,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/stdio.h:77: error: syntax error before `;' token
- In file included from /usr/include/c++/3.3.2/cstdio:52,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/stdio.h:284: error: type specifier omitted for parameter `size_t'
- /usr/include/stdio.h:284: error: syntax error before `,' token
- /usr/include/stdio.h:290: error: type specifier omitted for parameter `size_t'
- /usr/include/stdio.h:290: error: syntax error before `*' token
- /usr/include/stdio.h:302: error: type specifier omitted for parameter `size_t'
- /usr/include/stdio.h:302: error: syntax error before `)' token
- /usr/include/stdio.h:309: error: type specifier omitted for parameter `size_t'
- /usr/include/stdio.h:309: error: syntax error before `)' token
- /usr/include/stdio.h:337: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/stdio.h:337: error: syntax error before `)' token
- /usr/include/stdio.h:342: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/stdio.h:342: error: syntax error before `)' token
- /usr/include/stdio.h:345: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/stdio.h:345: error: syntax error before `)' token
- /usr/include/stdio.h:351: error: type specifier omitted for parameter `size_t'
- /usr/include/stdio.h:351: error: syntax error before `,' token
- /usr/include/stdio.h:355: error: type specifier omitted for parameter `size_t'
- /usr/include/stdio.h:355: error: syntax error before `,' token
- /usr/include/stdio.h:365: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/stdio.h:365: error: syntax error before `)' token
- /usr/include/stdio.h:381: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/stdio.h:381: error: syntax error before `)' token
- /usr/include/stdio.h:412: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/stdio.h:412: error: syntax error before `)' token
- /usr/include/stdio.h:419: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/stdio.h:419: error: syntax error before `)' token
- /usr/include/stdio.h:424: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/stdio.h:424: error: syntax error before `)' token
- /usr/include/stdio.h:560: error: type specifier omitted for parameter `size_t'
- /usr/include/stdio.h:560: error: syntax error before `*' token
- /usr/include/stdio.h:563: error: type specifier omitted for parameter `size_t'
- /usr/include/stdio.h:563: error: syntax error before `*' token
- /usr/include/stdio.h:573: error: type specifier omitted for parameter `size_t'
- /usr/include/stdio.h:573: error: syntax error before `*' token
- /usr/include/stdio.h:603: error: syntax error before `(' token
- /usr/include/stdio.h:609: error: syntax error before `(' token
- /usr/include/stdio.h:631: error: syntax error before `(' token
- /usr/include/stdio.h:633: error: syntax error before `(' token
- In file included from /usr/include/c++/3.3.2/cstdio:52,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/stdio.h:798: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/stdio.h:798: error: syntax error before `)' token
- In file included from /usr/include/stdio.h:828,
- from /usr/include/c++/3.3.2/cstdio:52,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/bits/stdio.h:34: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/bits/stdio.h:34: error: syntax error before `)' token
- /usr/include/bits/stdio.h: In function `int vprintf(...)':
- /usr/include/bits/stdio.h:36: error: `__fmt' undeclared (first use this function)
- /usr/include/bits/stdio.h:36: error: `__arg' undeclared (first use this function)
- /usr/include/bits/stdio.h: At global scope:
- /usr/include/bits/stdio.h:102: error: type specifier omitted for parameter `size_t'
- /usr/include/bits/stdio.h:102: error: syntax error before `*' token
- /usr/include/bits/stdio.h: In function `__ssize_t getline(...)':
- /usr/include/bits/stdio.h:104: error: `__lineptr' undeclared (first use this function)
- /usr/include/bits/stdio.h:104: error: `__n' undeclared (first use this function)
- /usr/include/bits/stdio.h:104: error: `__stream' undeclared (first use this function)
- In file included from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/c++/3.3.2/cstdio: At global scope:
- /usr/include/c++/3.3.2/cstdio:114: error: `fread' not declared
- /usr/include/c++/3.3.2/cstdio:120: error: `fwrite' not declared
- In file included from /usr/include/pthread.h:20,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:37,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/sched.h:76: error: type specifier omitted for parameter `size_t'
- /usr/include/sched.h:76: error: syntax error before `,' token
- /usr/include/sched.h:80: error: type specifier omitted for parameter `size_t'
- /usr/include/sched.h:80: error: syntax error before `,' token
- In file included from /usr/include/pthread.h:21,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:37,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/time.h:197: error: syntax error before `(' token
- /usr/include/time.h:215: error: syntax error before `(' token
- In file included from /usr/include/pthread.h:25,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:37,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/bits/pthreadtypes.h:48: error: 'size_t' is used as a type, but is not defined as a type.
- /usr/include/bits/pthreadtypes.h:51: error: 'size_t' is used as a type, but is not defined as a type.
- In file included from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:37,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/pthread.h:247: error: type specifier omitted for parameter `size_t'
- /usr/include/pthread.h:247: error: syntax error before `)' token
- /usr/include/pthread.h:251: error: type specifier omitted for parameter `size_t'
- /usr/include/pthread.h:251: error: syntax error before `*' token
- /usr/include/pthread.h:272: error: type specifier omitted for parameter `size_t'
- /usr/include/pthread.h:272: error: syntax error before `)' token
- /usr/include/pthread.h:277: error: type specifier omitted for parameter `size_t'
- /usr/include/pthread.h:277: error: syntax error before `*' token
- /usr/include/pthread.h:284: error: type specifier omitted for parameter `size_t'
- /usr/include/pthread.h:284: error: syntax error before `)' token
- /usr/include/pthread.h:288: error: type specifier omitted for parameter `size_t'
- /usr/include/pthread.h:288: error: syntax error before `*' token
- In file included from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:38,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/unistd.h:312: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:312: error: syntax error before `)' token
- /usr/include/unistd.h:318: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:318: error: syntax error before `)' token
- /usr/include/unistd.h:328: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:328: error: syntax error before `,' token
- /usr/include/unistd.h:336: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:336: error: syntax error before `,' token
- /usr/include/unistd.h:356: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:356: error: syntax error before `,' token
- /usr/include/unistd.h:360: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:360: error: syntax error before `,' token
- /usr/include/unistd.h:448: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:448: error: syntax error before `)' token
- In file included from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:38,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/unistd.h:538: error: syntax error before `(' token
- /usr/include/unistd.h:707: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:707: error: syntax error before `)' token
- /usr/include/unistd.h:732: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:732: error: syntax error before `)' token
- /usr/include/unistd.h:761: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:761: error: syntax error before `)' token
- In file included from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:38,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
- from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
- from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/unistd.h:783: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:783: error: syntax error before `)' token
- /usr/include/unistd.h:790: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:790: error: syntax error before `)' token
- /usr/include/unistd.h:800: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:800: error: syntax error before `)' token
- /usr/include/unistd.h:801: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:801: error: syntax error before `)' token
- /usr/include/unistd.h:818: error: type specifier omitted for parameter `size_t'
- /usr/include/unistd.h:818: error: syntax error before `,' token
- In file included from /usr/include/c++/3.3.2/bits/fpos.h:44,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:43: error: syntax error before `;' token
- /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:45: error: syntax error before `;' token
- In file included from /usr/include/c++/3.3.2/cwchar:51,
- from /usr/include/c++/3.3.2/bits/fpos.h:45,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/c++/3.3.2/ctime:78: error: `strftime' not declared
- In file included from /usr/include/c++/3.3.2/cwchar:54,
- from /usr/include/c++/3.3.2/bits/fpos.h:45,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/wchar.h:40:21: stdarg.h: No such file or directory
- In file included from /usr/include/c++/3.3.2/cwchar:54,
- from /usr/include/c++/3.3.2/bits/fpos.h:45,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/wchar.h:137: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:137: error: syntax error before `)' token
- /usr/include/wchar.h:145: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:145: error: syntax error before `)' token
- /usr/include/wchar.h:152: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:152: error: syntax error before `)' token
- /usr/include/wchar.h:162: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:162: error: syntax error before `)' token
- /usr/include/wchar.h:172: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:172: error: syntax error before `,' token
- /usr/include/wchar.h:182: error: syntax error before `(' token
- /usr/include/wchar.h:198: error: syntax error before `(' token
- /usr/include/wchar.h:224: error: syntax error before `(' token
- /usr/include/wchar.h:228: error: syntax error before `(' token
- /usr/include/wchar.h:243: error: syntax error before `(' token
- /usr/include/wchar.h:254: error: syntax error before `(' token
- /usr/include/wchar.h:261: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:261: error: syntax error before `)' token
- /usr/include/wchar.h:266: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:266: error: syntax error before `)' token
- /usr/include/wchar.h:271: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:271: error: syntax error before `)' token
- /usr/include/wchar.h:275: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:275: error: syntax error before `)' token
- /usr/include/wchar.h:279: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:279: error: syntax error before `)' token
- /usr/include/wchar.h:286: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:286: error: syntax error before `)' token
- /usr/include/wchar.h:306: error: syntax error before `(' token
- /usr/include/wchar.h:311: error: syntax error before `(' token
- /usr/include/wchar.h:315: error: syntax error before `(' token
- /usr/include/wchar.h:317: error: syntax error before `(' token
- /usr/include/wchar.h:323: error: syntax error before `(' token
- /usr/include/wchar.h:332: error: syntax error before `(' token
- /usr/include/wchar.h:338: error: syntax error before `(' token
- /usr/include/wchar.h:347: error: syntax error before `(' token
- /usr/include/wchar.h:353: error: syntax error before `(' token
- /usr/include/wchar.h:367: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:367: error: syntax error before `)' token
- /usr/include/wchar.h:572: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:572: error: syntax error before `)' token
- /usr/include/wchar.h:599: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:599: error: syntax error before `,' token
- /usr/include/wchar.h:609: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/wchar.h:609: error: syntax error before `)' token
- /usr/include/wchar.h:616: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/wchar.h:616: error: syntax error before `)' token
- /usr/include/wchar.h:620: error: type specifier omitted for parameter `size_t'
- /usr/include/wchar.h:620: error: syntax error before `,' token
- /usr/include/wchar.h:656: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/wchar.h:656: error: syntax error before `)' token
- /usr/include/wchar.h:663: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/wchar.h:663: error: syntax error before `)' token
- /usr/include/wchar.h:668: error: type specifier omitted for parameter `__gnuc_va_list'
- /usr/include/wchar.h:668: error: syntax error before `)' token
- /usr/include/wchar.h:790: error: syntax error before `(' token
- /usr/include/wchar.h:800: error: syntax error before `(' token
- In file included from /usr/include/c++/3.3.2/bits/fpos.h:45,
- from /usr/include/c++/3.3.2/bits/char_traits.h:46,
- from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/c++/3.3.2/cwchar:147: error: `mbrlen' not declared
- /usr/include/c++/3.3.2/cwchar:148: error: `mbrtowc' not declared
- /usr/include/c++/3.3.2/cwchar:150: error: `mbsrtowcs' not declared
- /usr/include/c++/3.3.2/cwchar:162: error: `wcrtomb' not declared
- /usr/include/c++/3.3.2/cwchar:167: error: `wcscspn' not declared
- /usr/include/c++/3.3.2/cwchar:168: error: `wcsftime' not declared
- /usr/include/c++/3.3.2/cwchar:169: error: `wcslen' not declared
- /usr/include/c++/3.3.2/cwchar:173: error: `wcsrtombs' not declared
- /usr/include/c++/3.3.2/cwchar:174: error: `wcsspn' not declared
- /usr/include/c++/3.3.2/cwchar:180: error: `wcsxfrm' not declared
- /usr/include/c++/3.3.2/cwchar:216: error: type specifier omitted for parameter `size_t'
- /usr/include/c++/3.3.2/cwchar:216: error: syntax error before `)' token
- /usr/include/c++/3.3.2/cwchar: In function `wchar_t* std::wmemchr(...)':
- /usr/include/c++/3.3.2/cwchar:217: error: `wchar_t* std::wmemchr(...)' conflicts with previous using declaration `wchar_t* wmemchr(...)'
- In file included from /usr/include/c++/3.3.2/string:47,
- from /usr/lib/qt3/include/qstring.h:56,
- from /usr/lib/qt3/include/qwindowdefs.h:44,
- from /usr/lib/qt3/include/qwidget.h:42,
- from /usr/lib/qt3/include/qmainwindow.h:42,
- from main.h:21,
- from main.cpp:21:
- /usr/include/c++/3.3.2/bits/char_traits.h: At global scope:
- /usr/include/c++/3.3.2/bits/char_traits.h:81: error: type specifier omitted for parameter `size_t'
- /usr/include/c++/3.3.2/bits/char_traits.h:81: error: syntax error before `)' token
- /usr/include/c++/3.3.2/bits/char_traits.h:84: error: syntax error before `(' token
- /usr/include/c++/3.3.2/bits/char_traits.h:87: error: type specifier omitted for parameter `size_t'
- /usr/include/c++/3.3.2/bits/char_traits.h:87: error: syntax error before `,' token
- /usr/include/c++/3.3.2/bits/char_traits.h:90: error: type specifier omitted for parameter `size_t'
- /usr/include/c++/3.3.2/bits/char_traits.h:90: error: syntax error before `)' token
- /usr/include/c++/3.3.2/bits/char_traits.h:93: error: type specifier omitted for parameter `size_t'
- /usr/include/c++/3.3.2/bits/char_traits.h:93: error: syntax error before `)' token
- /usr/include/c++/3.3.2/bits/char_traits.h:96: error: type specifier omitted for parameter `size_t'
- /usr/include/c++/3.3.2/bits/char_traits.h:96: error: syntax error before `,' token
- /usr/include/c++/3.3.2/bits/char_traits.h:138: error: type specifier omitted for parameter `size_t'
- /usr/include/c++/3.3.2/bits/char_traits.h:138: error: syntax error before `)' token
- /usr/include/c++/3.3.2/bits/char_traits.h:142: error: syntax error before `(' token
- /usr/include/c++/3.3.2/bits/char_traits.h: In static member function `static int std::char_traits<char>::compare(...)':
- /usr/include/c++/3.3.2/bits/char_traits.h:139: error: `__s1' undeclared (first use this function)
- /usr/include/c++/3.3.2/bits/char_traits.h:139: error: `__s2' undeclared (first use this function)
- /usr/include/c++/3.3.2/bits/char_traits.h: At global scope:
- /usr/include/c++/3.3.2/bits/char_traits.h:145: error: ISO C++ forbids defining types within return type
- /usr/include/c++/3.3.2/bits/char_traits.h:145: error: syntax error before `*' token
- /usr/include/c++/3.3.2/bits/char_traits.h:146: error: syntax error before `*' token
- /usr/include/c++/3.3.2/bits/char_traits.h: In function `int* std::find(...)':
- /usr/include/c++/3.3.2/bits/char_traits.h:147: error: syntax error before `*' token
- /usr/include/c++/3.3.2/bits/char_traits.h: At global scope:
- /usr/include/c++/3.3.2/bits/char_traits.h:149: error: syntax error before `*' token
- /usr/include/c++/3.3.2/bits/char_traits.h:153: error: syntax error before `*' token
- /usr/include/c++/3.3.2/bits/char_traits.h:157: error: syntax error before `*' token
- /usr/include/c++/3.3.2/bits/char_traits.h:162: error: syntax error before `(' token
- /usr/include/c++/3.3.2/bits/char_traits.h:168: error: syntax error before `(' token
- /usr/include/c++/3.3.2/bits/char_traits.h:172: error: syntax error before `&' token
- /usr/include/c++/3.3.2/bits/char_traits.h: In function `bool eq_int_type(...)':
- /usr/include/c++/3.3.2/bits/char_traits.h:173: error: `__c1' undeclared (first use this function)
- /usr/include/c++/3.3.2/bits/char_traits.h:173: error: `__c2' undeclared (first use this function)
- /usr/include/c++/3.3.2/bits/char_traits.h: At global scope:
- /usr/include/c++/3.3.2/bits/char_traits.h:176: error: syntax error before `(' token
- /usr/include/c++/3.3.2/bits/char_traits.h:179: error: syntax error before `(' token
- /usr/include/c++/3.3.2/bits/char_traits.h:188: error: `char_traits' is not a template
- /usr/include/c++/3.3.2/bits/char_traits.h:189: confused by earlier errors, bailing out
- make: *** [main.o] Erreur 1
|
Sa doit être un problème au niveau du fichier string.h ....
Est ce quelqu'un peut m'aider, là je désespère.
Merci d'avance .... Message édité par the_tux le 23-02-2005 à 10:56:13
|