Problème compilation sur Linux

Problème compilation sur Linux - C++ - Programmation

Marsh Posté le 23-02-2005 à 10:18:26    

J'ai un petit problème quand j'assaie de compiler des programmes sous Linux.
 
Voici l'erreur qui m'est retournée :
 

Code :
  1. 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
  2. In file included from /usr/lib/qt3/include/qcstring.h:46,
  3.                  from /usr/lib/qt3/include/qstring.h:42,
  4.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  5.                  from /usr/lib/qt3/include/qwidget.h:42,
  6.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  7.                  from main.h:21,
  8.                  from main.cpp:21:
  9. /usr/include/string.h:40: error: type specifier omitted for parameter `size_t'
  10. /usr/include/string.h:40: error: syntax error before `)' token
  11. /usr/include/string.h:43: error: type specifier omitted for parameter `size_t'
  12. /usr/include/string.h:43: error: syntax error before `)' token
  13. /usr/include/string.h:52: error: type specifier omitted for parameter `size_t'
  14. /usr/include/string.h:52: error: syntax error before `)' token
  15. /usr/include/string.h:59: error: type specifier omitted for parameter `size_t'
  16. /usr/include/string.h:59: error: syntax error before `)' token
  17. /usr/include/string.h:62: error: type specifier omitted for parameter `size_t'
  18. /usr/include/string.h:62: error: syntax error before `)' token
  19. /usr/include/string.h:66: error: type specifier omitted for parameter `size_t'
  20. /usr/include/string.h:66: error: syntax error before `)' token
  21. /usr/include/string.h:76: error: type specifier omitted for parameter `size_t'
  22. /usr/include/string.h:76: error: syntax error before `)' token
  23. /usr/include/string.h:87: error: type specifier omitted for parameter `size_t'
  24. /usr/include/string.h:87: error: syntax error before `)' token
  25. /usr/include/string.h:94: error: type specifier omitted for parameter `size_t'
  26. /usr/include/string.h:94: error: syntax error before `)' token
  27. /usr/include/string.h:100: error: type specifier omitted for parameter `size_t'
  28. /usr/include/string.h:100: error: syntax error before `)' token
  29. /usr/include/string.h:107: error: syntax error before `(' token
  30. In file included from /usr/lib/qt3/include/qcstring.h:46,
  31.                  from /usr/lib/qt3/include/qstring.h:42,
  32.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  33.                  from /usr/lib/qt3/include/qwidget.h:42,
  34.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  35.                  from main.h:21,
  36.                  from main.cpp:21:
  37. /usr/include/string.h:121: error: syntax error before `(' token
  38. /usr/include/string.h:134: error: type specifier omitted for parameter `size_t'
  39. /usr/include/string.h:134: error: syntax error before `)' token
  40. /usr/include/string.h:177: error: syntax error before `(' token
  41. /usr/include/string.h:181: error: syntax error before `(' token
  42. /usr/include/string.h:216: error: type specifier omitted for parameter `size_t'
  43. /usr/include/string.h:216: error: syntax error before `,' token
  44. /usr/include/string.h:223: error: type specifier omitted for parameter `size_t'
  45. /usr/include/string.h:223: error: syntax error before `)' token
  46. /usr/include/string.h:225: error: type specifier omitted for parameter `size_t'
  47. /usr/include/string.h:225: error: syntax error before `)' token
  48. /usr/include/string.h:231: error: syntax error before `(' token
  49. /usr/include/string.h:237: error: syntax error before `(' token
  50. /usr/include/string.h:269: error: type specifier omitted for parameter `size_t'
  51. /usr/include/string.h:269: error: syntax error before `)' token
  52. /usr/include/string.h:275: error: type specifier omitted for parameter `size_t'
  53. /usr/include/string.h:275: error: syntax error before `)' token
  54. /usr/include/string.h:279: error: type specifier omitted for parameter `size_t'
  55. /usr/include/string.h:279: error: syntax error before `)' token
  56. /usr/include/string.h:282: error: type specifier omitted for parameter `size_t'
  57. /usr/include/string.h:282: error: syntax error before `)' token
  58. /usr/include/string.h:285: error: type specifier omitted for parameter `size_t'
  59. /usr/include/string.h:285: error: syntax error before `)' token
  60. /usr/include/string.h:313: error: type specifier omitted for parameter `size_t'
  61. /usr/include/string.h:313: error: syntax error before `)' token
  62. /usr/include/string.h:324: error: type specifier omitted for parameter `size_t'
  63. /usr/include/string.h:324: error: syntax error before `,' token
  64. /usr/include/string.h:352: error: type specifier omitted for parameter `size_t'
  65. /usr/include/string.h:352: error: syntax error before `)' token
  66. /usr/include/string.h:354: error: type specifier omitted for parameter `size_t'
  67. /usr/include/string.h:354: error: syntax error before `)' token
  68. /usr/include/string.h:360: error: type specifier omitted for parameter `size_t'
  69. /usr/include/string.h:360: error: syntax error before `)' token
  70. In file included from /usr/lib/qt3/include/qstring.h:42,
  71.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  72.                  from /usr/lib/qt3/include/qwidget.h:42,
  73.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  74.                  from main.h:21,
  75.                  from main.cpp:21:
  76. /usr/lib/qt3/include/qcstring.h: In function `uint qstrlen(const char*)':
  77. /usr/lib/qt3/include/qcstring.h:58: error: `strlen' undeclared (first use this function)
  78. /usr/lib/qt3/include/qcstring.h:58: error: (Each undeclared identifier is reported only once for each function it appears in.)
  79. /usr/lib/qt3/include/qcstring.h: In function `uint cstrlen(const char*)':
  80. /usr/lib/qt3/include/qcstring.h:83: error: `strlen' undeclared (first use this function)
  81. In file included from /usr/lib/qt3/include/qstring.h:46,
  82.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  83.                  from /usr/lib/qt3/include/qwidget.h:42,
  84.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  85.                  from main.h:21,
  86.                  from main.cpp:21:
  87. /usr/include/limits.h:124:26: no include path in which to find limits.h
  88. In file included from /usr/include/c++/3.3.2/cstring:49,
  89.                  from /usr/include/c++/3.3.2/bits/char_traits.h:45,
  90.                  from /usr/include/c++/3.3.2/string:47,
  91.                  from /usr/lib/qt3/include/qstring.h:56,
  92.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  93.                  from /usr/lib/qt3/include/qwidget.h:42,
  94.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  95.                  from main.h:21,
  96.                  from main.cpp:21:
  97. /usr/include/c++/3.3.2/cstddef: At global scope:
  98. /usr/include/c++/3.3.2/cstddef:52: error: `ptrdiff_t' not declared
  99. /usr/include/c++/3.3.2/cstddef:53: error: `size_t' not declared
  100. In file included from /usr/include/c++/3.3.2/bits/char_traits.h:45,
  101.                  from /usr/include/c++/3.3.2/string:47,
  102.                  from /usr/lib/qt3/include/qstring.h:56,
  103.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  104.                  from /usr/lib/qt3/include/qwidget.h:42,
  105.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  106.                  from main.h:21,
  107.                  from main.cpp:21:
  108. /usr/include/c++/3.3.2/cstring:89: error: `strxfrm' not declared
  109. /usr/include/c++/3.3.2/cstring:90: error: `strcspn' not declared
  110. /usr/include/c++/3.3.2/cstring:91: error: `strspn' not declared
  111. /usr/include/c++/3.3.2/cstring:100: error: type specifier omitted for parameter `size_t'
  112. /usr/include/c++/3.3.2/cstring:100: error: syntax error before `)' token
  113. /usr/include/c++/3.3.2/cstring: In function `void* std::memchr(...)':
  114. /usr/include/c++/3.3.2/cstring:101: error: `void* std::memchr(...)' conflicts with previous using declaration `void* memchr(...)'
  115. /usr/include/c++/3.3.2/cstring:101: error: `__p' undeclared (first use this function)
  116. /usr/include/c++/3.3.2/cstring:101: error: `__c' undeclared (first use this function)
  117. /usr/include/c++/3.3.2/cstring:101: error: `__n' undeclared (first use this function)
  118. In file included from /usr/include/_G_config.h:44,
  119.                  from /usr/include/libio.h:32,
  120.                  from /usr/include/stdio.h:72,
  121.                  from /usr/include/c++/3.3.2/cstdio:52,
  122.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
  123.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  124.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  125.                  from /usr/include/c++/3.3.2/string:47,
  126.                  from /usr/lib/qt3/include/qstring.h:56,
  127.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  128.                  from /usr/lib/qt3/include/qwidget.h:42,
  129.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  130.                  from main.h:21,
  131.                  from main.cpp:21:
  132. /usr/include/gconv.h: At global scope:
  133. /usr/include/gconv.h:72: error: type specifier omitted for parameter `size_t'
  134. /usr/include/gconv.h:72: error: syntax error before `*' token
  135. /usr/include/gconv.h:88: error: type specifier omitted for parameter `size_t'
  136. /usr/include/gconv.h:88: error: syntax error before `*' token
  137. /usr/include/gconv.h:97: error: type specifier omitted for parameter `size_t'
  138. /usr/include/gconv.h:97: error: syntax error before `*' token
  139. /usr/include/gconv.h:174: error: 'size_t' is used as a type, but is not defined as a type.
  140. In file included from /usr/include/stdio.h:72,
  141.                  from /usr/include/c++/3.3.2/cstdio:52,
  142.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
  143.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  144.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  145.                  from /usr/include/c++/3.3.2/string:47,
  146.                  from /usr/lib/qt3/include/qstring.h:56,
  147.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  148.                  from /usr/lib/qt3/include/qwidget.h:42,
  149.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  150.                  from main.h:21,
  151.                  from main.cpp:21:
  152. /usr/include/libio.h:53:21: stdarg.h: No such file or directory
  153. In file included from /usr/include/stdio.h:72,
  154.                  from /usr/include/c++/3.3.2/cstdio:52,
  155.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
  156.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  157.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  158.                  from /usr/include/c++/3.3.2/string:47,
  159.                  from /usr/lib/qt3/include/qstring.h:56,
  160.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  161.                  from /usr/lib/qt3/include/qwidget.h:42,
  162.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  163.                  from main.h:21,
  164.                  from main.cpp:21:
  165. /usr/include/libio.h:230: error: type specifier omitted for parameter `size_t'
  166. /usr/include/libio.h:351: error: type specifier omitted for parameter `size_t'
  167. /usr/include/libio.h:351: error: syntax error before `)' token
  168. /usr/include/libio.h:360: error: type specifier omitted for parameter `size_t'
  169. /usr/include/libio.h:360: error: syntax error before `)' token
  170. /usr/include/libio.h:472: error: type specifier omitted for parameter `__gnuc_va_list'
  171. /usr/include/libio.h:474: error: type specifier omitted for parameter `__gnuc_va_list'
  172. /usr/include/libio.h:476: error: syntax error before `(' token
  173. /usr/include/libio.h:521: error: type specifier omitted for parameter `__gnuc_va_list'
  174. /usr/include/libio.h:523: error: type specifier omitted for parameter `__gnuc_va_list'
  175. In file included from /usr/include/c++/3.3.2/cstdio:52,
  176.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
  177.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  178.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  179.                  from /usr/include/c++/3.3.2/string:47,
  180.                  from /usr/lib/qt3/include/qstring.h:56,
  181.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  182.                  from /usr/lib/qt3/include/qwidget.h:42,
  183.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  184.                  from main.h:21,
  185.                  from main.cpp:21:
  186. /usr/include/stdio.h:77: error: syntax error before `;' token
  187. In file included from /usr/include/c++/3.3.2/cstdio:52,
  188.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
  189.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  190.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  191.                  from /usr/include/c++/3.3.2/string:47,
  192.                  from /usr/lib/qt3/include/qstring.h:56,
  193.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  194.                  from /usr/lib/qt3/include/qwidget.h:42,
  195.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  196.                  from main.h:21,
  197.                  from main.cpp:21:
  198. /usr/include/stdio.h:284: error: type specifier omitted for parameter `size_t'
  199. /usr/include/stdio.h:284: error: syntax error before `,' token
  200. /usr/include/stdio.h:290: error: type specifier omitted for parameter `size_t'
  201. /usr/include/stdio.h:290: error: syntax error before `*' token
  202. /usr/include/stdio.h:302: error: type specifier omitted for parameter `size_t'
  203. /usr/include/stdio.h:302: error: syntax error before `)' token
  204. /usr/include/stdio.h:309: error: type specifier omitted for parameter `size_t'
  205. /usr/include/stdio.h:309: error: syntax error before `)' token
  206. /usr/include/stdio.h:337: error: type specifier omitted for parameter `__gnuc_va_list'
  207. /usr/include/stdio.h:337: error: syntax error before `)' token
  208. /usr/include/stdio.h:342: error: type specifier omitted for parameter `__gnuc_va_list'
  209. /usr/include/stdio.h:342: error: syntax error before `)' token
  210. /usr/include/stdio.h:345: error: type specifier omitted for parameter `__gnuc_va_list'
  211. /usr/include/stdio.h:345: error: syntax error before `)' token
  212. /usr/include/stdio.h:351: error: type specifier omitted for parameter `size_t'
  213. /usr/include/stdio.h:351: error: syntax error before `,' token
  214. /usr/include/stdio.h:355: error: type specifier omitted for parameter `size_t'
  215. /usr/include/stdio.h:355: error: syntax error before `,' token
  216. /usr/include/stdio.h:365: error: type specifier omitted for parameter `__gnuc_va_list'
  217. /usr/include/stdio.h:365: error: syntax error before `)' token
  218. /usr/include/stdio.h:381: error: type specifier omitted for parameter `__gnuc_va_list'
  219. /usr/include/stdio.h:381: error: syntax error before `)' token
  220. /usr/include/stdio.h:412: error: type specifier omitted for parameter `__gnuc_va_list'
  221. /usr/include/stdio.h:412: error: syntax error before `)' token
  222. /usr/include/stdio.h:419: error: type specifier omitted for parameter `__gnuc_va_list'
  223. /usr/include/stdio.h:419: error: syntax error before `)' token
  224. /usr/include/stdio.h:424: error: type specifier omitted for parameter `__gnuc_va_list'
  225. /usr/include/stdio.h:424: error: syntax error before `)' token
  226. /usr/include/stdio.h:560: error: type specifier omitted for parameter `size_t'
  227. /usr/include/stdio.h:560: error: syntax error before `*' token
  228. /usr/include/stdio.h:563: error: type specifier omitted for parameter `size_t'
  229. /usr/include/stdio.h:563: error: syntax error before `*' token
  230. /usr/include/stdio.h:573: error: type specifier omitted for parameter `size_t'
  231. /usr/include/stdio.h:573: error: syntax error before `*' token
  232. /usr/include/stdio.h:603: error: syntax error before `(' token
  233. /usr/include/stdio.h:609: error: syntax error before `(' token
  234. /usr/include/stdio.h:631: error: syntax error before `(' token
  235. /usr/include/stdio.h:633: error: syntax error before `(' token
  236. In file included from /usr/include/c++/3.3.2/cstdio:52,
  237.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
  238.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  239.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  240.                  from /usr/include/c++/3.3.2/string:47,
  241.                  from /usr/lib/qt3/include/qstring.h:56,
  242.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  243.                  from /usr/lib/qt3/include/qwidget.h:42,
  244.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  245.                  from main.h:21,
  246.                  from main.cpp:21:
  247. /usr/include/stdio.h:798: error: type specifier omitted for parameter `__gnuc_va_list'
  248. /usr/include/stdio.h:798: error: syntax error before `)' token
  249. In file included from /usr/include/stdio.h:828,
  250.                  from /usr/include/c++/3.3.2/cstdio:52,
  251.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
  252.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  253.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  254.                  from /usr/include/c++/3.3.2/string:47,
  255.                  from /usr/lib/qt3/include/qstring.h:56,
  256.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  257.                  from /usr/lib/qt3/include/qwidget.h:42,
  258.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  259.                  from main.h:21,
  260.                  from main.cpp:21:
  261. /usr/include/bits/stdio.h:34: error: type specifier omitted for parameter `__gnuc_va_list'
  262. /usr/include/bits/stdio.h:34: error: syntax error before `)' token
  263. /usr/include/bits/stdio.h: In function `int vprintf(...)':
  264. /usr/include/bits/stdio.h:36: error: `__fmt' undeclared (first use this function)
  265. /usr/include/bits/stdio.h:36: error: `__arg' undeclared (first use this function)
  266. /usr/include/bits/stdio.h: At global scope:
  267. /usr/include/bits/stdio.h:102: error: type specifier omitted for parameter `size_t'
  268. /usr/include/bits/stdio.h:102: error: syntax error before `*' token
  269. /usr/include/bits/stdio.h: In function `__ssize_t getline(...)':
  270. /usr/include/bits/stdio.h:104: error: `__lineptr' undeclared (first use this function)
  271. /usr/include/bits/stdio.h:104: error: `__n' undeclared (first use this function)
  272. /usr/include/bits/stdio.h:104: error: `__stream' undeclared (first use this function)
  273. In file included from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:35,
  274.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  275.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  276.                  from /usr/include/c++/3.3.2/string:47,
  277.                  from /usr/lib/qt3/include/qstring.h:56,
  278.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  279.                  from /usr/lib/qt3/include/qwidget.h:42,
  280.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  281.                  from main.h:21,
  282.                  from main.cpp:21:
  283. /usr/include/c++/3.3.2/cstdio: At global scope:
  284. /usr/include/c++/3.3.2/cstdio:114: error: `fread' not declared
  285. /usr/include/c++/3.3.2/cstdio:120: error: `fwrite' not declared
  286. In file included from /usr/include/pthread.h:20,
  287.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:37,
  288.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
  289.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
  290.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  291.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  292.                  from /usr/include/c++/3.3.2/string:47,
  293.                  from /usr/lib/qt3/include/qstring.h:56,
  294.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  295.                  from /usr/lib/qt3/include/qwidget.h:42,
  296.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  297.                  from main.h:21,
  298.                  from main.cpp:21:
  299. /usr/include/sched.h:76: error: type specifier omitted for parameter `size_t'
  300. /usr/include/sched.h:76: error: syntax error before `,' token
  301. /usr/include/sched.h:80: error: type specifier omitted for parameter `size_t'
  302. /usr/include/sched.h:80: error: syntax error before `,' token
  303. In file included from /usr/include/pthread.h:21,
  304.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:37,
  305.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
  306.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
  307.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  308.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  309.                  from /usr/include/c++/3.3.2/string:47,
  310.                  from /usr/lib/qt3/include/qstring.h:56,
  311.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  312.                  from /usr/lib/qt3/include/qwidget.h:42,
  313.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  314.                  from main.h:21,
  315.                  from main.cpp:21:
  316. /usr/include/time.h:197: error: syntax error before `(' token
  317. /usr/include/time.h:215: error: syntax error before `(' token
  318. In file included from /usr/include/pthread.h:25,
  319.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:37,
  320.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
  321.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
  322.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  323.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  324.                  from /usr/include/c++/3.3.2/string:47,
  325.                  from /usr/lib/qt3/include/qstring.h:56,
  326.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  327.                  from /usr/lib/qt3/include/qwidget.h:42,
  328.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  329.                  from main.h:21,
  330.                  from main.cpp:21:
  331. /usr/include/bits/pthreadtypes.h:48: error: 'size_t' is used as a type, but is not defined as a type.
  332. /usr/include/bits/pthreadtypes.h:51: error: 'size_t' is used as a type, but is not defined as a type.
  333. In file included from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:37,
  334.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
  335.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
  336.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  337.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  338.                  from /usr/include/c++/3.3.2/string:47,
  339.                  from /usr/lib/qt3/include/qstring.h:56,
  340.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  341.                  from /usr/lib/qt3/include/qwidget.h:42,
  342.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  343.                  from main.h:21,
  344.                  from main.cpp:21:
  345. /usr/include/pthread.h:247: error: type specifier omitted for parameter `size_t'
  346. /usr/include/pthread.h:247: error: syntax error before `)' token
  347. /usr/include/pthread.h:251: error: type specifier omitted for parameter `size_t'
  348. /usr/include/pthread.h:251: error: syntax error before `*' token
  349. /usr/include/pthread.h:272: error: type specifier omitted for parameter `size_t'
  350. /usr/include/pthread.h:272: error: syntax error before `)' token
  351. /usr/include/pthread.h:277: error: type specifier omitted for parameter `size_t'
  352. /usr/include/pthread.h:277: error: syntax error before `*' token
  353. /usr/include/pthread.h:284: error: type specifier omitted for parameter `size_t'
  354. /usr/include/pthread.h:284: error: syntax error before `)' token
  355. /usr/include/pthread.h:288: error: type specifier omitted for parameter `size_t'
  356. /usr/include/pthread.h:288: error: syntax error before `*' token
  357. In file included from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:38,
  358.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
  359.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
  360.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  361.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  362.                  from /usr/include/c++/3.3.2/string:47,
  363.                  from /usr/lib/qt3/include/qstring.h:56,
  364.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  365.                  from /usr/lib/qt3/include/qwidget.h:42,
  366.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  367.                  from main.h:21,
  368.                  from main.cpp:21:
  369. /usr/include/unistd.h:312: error: type specifier omitted for parameter `size_t'
  370. /usr/include/unistd.h:312: error: syntax error before `)' token
  371. /usr/include/unistd.h:318: error: type specifier omitted for parameter `size_t'
  372. /usr/include/unistd.h:318: error: syntax error before `)' token
  373. /usr/include/unistd.h:328: error: type specifier omitted for parameter `size_t'
  374. /usr/include/unistd.h:328: error: syntax error before `,' token
  375. /usr/include/unistd.h:336: error: type specifier omitted for parameter `size_t'
  376. /usr/include/unistd.h:336: error: syntax error before `,' token
  377. /usr/include/unistd.h:356: error: type specifier omitted for parameter `size_t'
  378. /usr/include/unistd.h:356: error: syntax error before `,' token
  379. /usr/include/unistd.h:360: error: type specifier omitted for parameter `size_t'
  380. /usr/include/unistd.h:360: error: syntax error before `,' token
  381. /usr/include/unistd.h:448: error: type specifier omitted for parameter `size_t'
  382. /usr/include/unistd.h:448: error: syntax error before `)' token
  383. In file included from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:38,
  384.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
  385.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
  386.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  387.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  388.                  from /usr/include/c++/3.3.2/string:47,
  389.                  from /usr/lib/qt3/include/qstring.h:56,
  390.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  391.                  from /usr/lib/qt3/include/qwidget.h:42,
  392.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  393.                  from main.h:21,
  394.                  from main.cpp:21:
  395. /usr/include/unistd.h:538: error: syntax error before `(' token
  396. /usr/include/unistd.h:707: error: type specifier omitted for parameter `size_t'
  397. /usr/include/unistd.h:707: error: syntax error before `)' token
  398. /usr/include/unistd.h:732: error: type specifier omitted for parameter `size_t'
  399. /usr/include/unistd.h:732: error: syntax error before `)' token
  400. /usr/include/unistd.h:761: error: type specifier omitted for parameter `size_t'
  401. /usr/include/unistd.h:761: error: syntax error before `)' token
  402. In file included from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr-default.h:38,
  403.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/gthr.h:98,
  404.                  from /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:37,
  405.                  from /usr/include/c++/3.3.2/bits/fpos.h:44,
  406.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  407.                  from /usr/include/c++/3.3.2/string:47,
  408.                  from /usr/lib/qt3/include/qstring.h:56,
  409.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  410.                  from /usr/lib/qt3/include/qwidget.h:42,
  411.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  412.                  from main.h:21,
  413.                  from main.cpp:21:
  414. /usr/include/unistd.h:783: error: type specifier omitted for parameter `size_t'
  415. /usr/include/unistd.h:783: error: syntax error before `)' token
  416. /usr/include/unistd.h:790: error: type specifier omitted for parameter `size_t'
  417. /usr/include/unistd.h:790: error: syntax error before `)' token
  418. /usr/include/unistd.h:800: error: type specifier omitted for parameter `size_t'
  419. /usr/include/unistd.h:800: error: syntax error before `)' token
  420. /usr/include/unistd.h:801: error: type specifier omitted for parameter `size_t'
  421. /usr/include/unistd.h:801: error: syntax error before `)' token
  422. /usr/include/unistd.h:818: error: type specifier omitted for parameter `size_t'
  423. /usr/include/unistd.h:818: error: syntax error before `,' token
  424. In file included from /usr/include/c++/3.3.2/bits/fpos.h:44,
  425.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  426.                  from /usr/include/c++/3.3.2/string:47,
  427.                  from /usr/lib/qt3/include/qstring.h:56,
  428.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  429.                  from /usr/lib/qt3/include/qwidget.h:42,
  430.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  431.                  from main.h:21,
  432.                  from main.cpp:21:
  433. /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:43: error: syntax error before `;' token
  434. /usr/include/c++/3.3.2/i586-mandrake-linux-gnu/bits/c++io.h:45: error: syntax error before `;' token
  435. In file included from /usr/include/c++/3.3.2/cwchar:51,
  436.                  from /usr/include/c++/3.3.2/bits/fpos.h:45,
  437.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  438.                  from /usr/include/c++/3.3.2/string:47,
  439.                  from /usr/lib/qt3/include/qstring.h:56,
  440.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  441.                  from /usr/lib/qt3/include/qwidget.h:42,
  442.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  443.                  from main.h:21,
  444.                  from main.cpp:21:
  445. /usr/include/c++/3.3.2/ctime:78: error: `strftime' not declared
  446. In file included from /usr/include/c++/3.3.2/cwchar:54,
  447.                  from /usr/include/c++/3.3.2/bits/fpos.h:45,
  448.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  449.                  from /usr/include/c++/3.3.2/string:47,
  450.                  from /usr/lib/qt3/include/qstring.h:56,
  451.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  452.                  from /usr/lib/qt3/include/qwidget.h:42,
  453.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  454.                  from main.h:21,
  455.                  from main.cpp:21:
  456. /usr/include/wchar.h:40:21: stdarg.h: No such file or directory
  457. In file included from /usr/include/c++/3.3.2/cwchar:54,
  458.                  from /usr/include/c++/3.3.2/bits/fpos.h:45,
  459.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  460.                  from /usr/include/c++/3.3.2/string:47,
  461.                  from /usr/lib/qt3/include/qstring.h:56,
  462.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  463.                  from /usr/lib/qt3/include/qwidget.h:42,
  464.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  465.                  from main.h:21,
  466.                  from main.cpp:21:
  467. /usr/include/wchar.h:137: error: type specifier omitted for parameter `size_t'
  468. /usr/include/wchar.h:137: error: syntax error before `)' token
  469. /usr/include/wchar.h:145: error: type specifier omitted for parameter `size_t'
  470. /usr/include/wchar.h:145: error: syntax error before `)' token
  471. /usr/include/wchar.h:152: error: type specifier omitted for parameter `size_t'
  472. /usr/include/wchar.h:152: error: syntax error before `)' token
  473. /usr/include/wchar.h:162: error: type specifier omitted for parameter `size_t'
  474. /usr/include/wchar.h:162: error: syntax error before `)' token
  475. /usr/include/wchar.h:172: error: type specifier omitted for parameter `size_t'
  476. /usr/include/wchar.h:172: error: syntax error before `,' token
  477. /usr/include/wchar.h:182: error: syntax error before `(' token
  478. /usr/include/wchar.h:198: error: syntax error before `(' token
  479. /usr/include/wchar.h:224: error: syntax error before `(' token
  480. /usr/include/wchar.h:228: error: syntax error before `(' token
  481. /usr/include/wchar.h:243: error: syntax error before `(' token
  482. /usr/include/wchar.h:254: error: syntax error before `(' token
  483. /usr/include/wchar.h:261: error: type specifier omitted for parameter `size_t'
  484. /usr/include/wchar.h:261: error: syntax error before `)' token
  485. /usr/include/wchar.h:266: error: type specifier omitted for parameter `size_t'
  486. /usr/include/wchar.h:266: error: syntax error before `)' token
  487. /usr/include/wchar.h:271: error: type specifier omitted for parameter `size_t'
  488. /usr/include/wchar.h:271: error: syntax error before `)' token
  489. /usr/include/wchar.h:275: error: type specifier omitted for parameter `size_t'
  490. /usr/include/wchar.h:275: error: syntax error before `)' token
  491. /usr/include/wchar.h:279: error: type specifier omitted for parameter `size_t'
  492. /usr/include/wchar.h:279: error: syntax error before `)' token
  493. /usr/include/wchar.h:286: error: type specifier omitted for parameter `size_t'
  494. /usr/include/wchar.h:286: error: syntax error before `)' token
  495. /usr/include/wchar.h:306: error: syntax error before `(' token
  496. /usr/include/wchar.h:311: error: syntax error before `(' token
  497. /usr/include/wchar.h:315: error: syntax error before `(' token
  498. /usr/include/wchar.h:317: error: syntax error before `(' token
  499. /usr/include/wchar.h:323: error: syntax error before `(' token
  500. /usr/include/wchar.h:332: error: syntax error before `(' token
  501. /usr/include/wchar.h:338: error: syntax error before `(' token
  502. /usr/include/wchar.h:347: error: syntax error before `(' token
  503. /usr/include/wchar.h:353: error: syntax error before `(' token
  504. /usr/include/wchar.h:367: error: type specifier omitted for parameter `size_t'
  505. /usr/include/wchar.h:367: error: syntax error before `)' token
  506. /usr/include/wchar.h:572: error: type specifier omitted for parameter `size_t'
  507. /usr/include/wchar.h:572: error: syntax error before `)' token
  508. /usr/include/wchar.h:599: error: type specifier omitted for parameter `size_t'
  509. /usr/include/wchar.h:599: error: syntax error before `,' token
  510. /usr/include/wchar.h:609: error: type specifier omitted for parameter `__gnuc_va_list'
  511. /usr/include/wchar.h:609: error: syntax error before `)' token
  512. /usr/include/wchar.h:616: error: type specifier omitted for parameter `__gnuc_va_list'
  513. /usr/include/wchar.h:616: error: syntax error before `)' token
  514. /usr/include/wchar.h:620: error: type specifier omitted for parameter `size_t'
  515. /usr/include/wchar.h:620: error: syntax error before `,' token
  516. /usr/include/wchar.h:656: error: type specifier omitted for parameter `__gnuc_va_list'
  517. /usr/include/wchar.h:656: error: syntax error before `)' token
  518. /usr/include/wchar.h:663: error: type specifier omitted for parameter `__gnuc_va_list'
  519. /usr/include/wchar.h:663: error: syntax error before `)' token
  520. /usr/include/wchar.h:668: error: type specifier omitted for parameter `__gnuc_va_list'
  521. /usr/include/wchar.h:668: error: syntax error before `)' token
  522. /usr/include/wchar.h:790: error: syntax error before `(' token
  523. /usr/include/wchar.h:800: error: syntax error before `(' token
  524. In file included from /usr/include/c++/3.3.2/bits/fpos.h:45,
  525.                  from /usr/include/c++/3.3.2/bits/char_traits.h:46,
  526.                  from /usr/include/c++/3.3.2/string:47,
  527.                  from /usr/lib/qt3/include/qstring.h:56,
  528.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  529.                  from /usr/lib/qt3/include/qwidget.h:42,
  530.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  531.                  from main.h:21,
  532.                  from main.cpp:21:
  533. /usr/include/c++/3.3.2/cwchar:147: error: `mbrlen' not declared
  534. /usr/include/c++/3.3.2/cwchar:148: error: `mbrtowc' not declared
  535. /usr/include/c++/3.3.2/cwchar:150: error: `mbsrtowcs' not declared
  536. /usr/include/c++/3.3.2/cwchar:162: error: `wcrtomb' not declared
  537. /usr/include/c++/3.3.2/cwchar:167: error: `wcscspn' not declared
  538. /usr/include/c++/3.3.2/cwchar:168: error: `wcsftime' not declared
  539. /usr/include/c++/3.3.2/cwchar:169: error: `wcslen' not declared
  540. /usr/include/c++/3.3.2/cwchar:173: error: `wcsrtombs' not declared
  541. /usr/include/c++/3.3.2/cwchar:174: error: `wcsspn' not declared
  542. /usr/include/c++/3.3.2/cwchar:180: error: `wcsxfrm' not declared
  543. /usr/include/c++/3.3.2/cwchar:216: error: type specifier omitted for parameter `size_t'
  544. /usr/include/c++/3.3.2/cwchar:216: error: syntax error before `)' token
  545. /usr/include/c++/3.3.2/cwchar: In function `wchar_t* std::wmemchr(...)':
  546. /usr/include/c++/3.3.2/cwchar:217: error: `wchar_t* std::wmemchr(...)' conflicts with previous using declaration `wchar_t* wmemchr(...)'
  547. In file included from /usr/include/c++/3.3.2/string:47,
  548.                  from /usr/lib/qt3/include/qstring.h:56,
  549.                  from /usr/lib/qt3/include/qwindowdefs.h:44,
  550.                  from /usr/lib/qt3/include/qwidget.h:42,
  551.                  from /usr/lib/qt3/include/qmainwindow.h:42,
  552.                  from main.h:21,
  553.                  from main.cpp:21:
  554. /usr/include/c++/3.3.2/bits/char_traits.h: At global scope:
  555. /usr/include/c++/3.3.2/bits/char_traits.h:81: error: type specifier omitted for parameter `size_t'
  556. /usr/include/c++/3.3.2/bits/char_traits.h:81: error: syntax error before `)' token
  557. /usr/include/c++/3.3.2/bits/char_traits.h:84: error: syntax error before `(' token
  558. /usr/include/c++/3.3.2/bits/char_traits.h:87: error: type specifier omitted for parameter `size_t'
  559. /usr/include/c++/3.3.2/bits/char_traits.h:87: error: syntax error before `,' token
  560. /usr/include/c++/3.3.2/bits/char_traits.h:90: error: type specifier omitted for parameter `size_t'
  561. /usr/include/c++/3.3.2/bits/char_traits.h:90: error: syntax error before `)' token
  562. /usr/include/c++/3.3.2/bits/char_traits.h:93: error: type specifier omitted for parameter `size_t'
  563. /usr/include/c++/3.3.2/bits/char_traits.h:93: error: syntax error before `)' token
  564. /usr/include/c++/3.3.2/bits/char_traits.h:96: error: type specifier omitted for parameter `size_t'
  565. /usr/include/c++/3.3.2/bits/char_traits.h:96: error: syntax error before `,' token
  566. /usr/include/c++/3.3.2/bits/char_traits.h:138: error: type specifier omitted for parameter `size_t'
  567. /usr/include/c++/3.3.2/bits/char_traits.h:138: error: syntax error before `)' token
  568. /usr/include/c++/3.3.2/bits/char_traits.h:142: error: syntax error before `(' token
  569. /usr/include/c++/3.3.2/bits/char_traits.h: In static member function `static int std::char_traits<char>::compare(...)':
  570. /usr/include/c++/3.3.2/bits/char_traits.h:139: error: `__s1' undeclared (first use this function)
  571. /usr/include/c++/3.3.2/bits/char_traits.h:139: error: `__s2' undeclared (first use this function)
  572. /usr/include/c++/3.3.2/bits/char_traits.h: At global scope:
  573. /usr/include/c++/3.3.2/bits/char_traits.h:145: error: ISO C++ forbids defining types within return type
  574. /usr/include/c++/3.3.2/bits/char_traits.h:145: error: syntax error before `*' token
  575. /usr/include/c++/3.3.2/bits/char_traits.h:146: error: syntax error before `*' token
  576. /usr/include/c++/3.3.2/bits/char_traits.h: In function `int* std::find(...)':
  577. /usr/include/c++/3.3.2/bits/char_traits.h:147: error: syntax error before `*' token
  578. /usr/include/c++/3.3.2/bits/char_traits.h: At global scope:
  579. /usr/include/c++/3.3.2/bits/char_traits.h:149: error: syntax error before `*' token
  580. /usr/include/c++/3.3.2/bits/char_traits.h:153: error: syntax error before `*' token
  581. /usr/include/c++/3.3.2/bits/char_traits.h:157: error: syntax error before `*' token
  582. /usr/include/c++/3.3.2/bits/char_traits.h:162: error: syntax error before `(' token
  583. /usr/include/c++/3.3.2/bits/char_traits.h:168: error: syntax error before `(' token
  584. /usr/include/c++/3.3.2/bits/char_traits.h:172: error: syntax error before `&' token
  585. /usr/include/c++/3.3.2/bits/char_traits.h: In function `bool eq_int_type(...)':
  586. /usr/include/c++/3.3.2/bits/char_traits.h:173: error: `__c1' undeclared (first use this function)
  587. /usr/include/c++/3.3.2/bits/char_traits.h:173: error: `__c2' undeclared (first use this function)
  588. /usr/include/c++/3.3.2/bits/char_traits.h: At global scope:
  589. /usr/include/c++/3.3.2/bits/char_traits.h:176: error: syntax error before `(' token
  590. /usr/include/c++/3.3.2/bits/char_traits.h:179: error: syntax error before `(' token
  591. /usr/include/c++/3.3.2/bits/char_traits.h:188: error: `char_traits' is not a template
  592. /usr/include/c++/3.3.2/bits/char_traits.h:189: confused by earlier errors, bailing out
  593. 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
Reply

Marsh Posté le 23-02-2005 à 10:18:26   

Reply

Marsh Posté le 23-02-2005 à 10:35:31    

tu te moques de qui pour poster un chapelet d'erreurs comme ça ?  
1/ ça ne sert à rien de tout poster
2/ si on n'a pas le code, on ne peut pas deviner ce qui déconne
 
prochain coup que tu postes comme un porc, c'est TT


---------------
J'ai un string dans l'array (Paris Hilton)
Reply

Marsh Posté le 23-02-2005 à 10:52:40    

Je ne peut pas filer le code source puisque sa le fait pour une majorité de programmes de j'assaie de compiler (et toujours la même erreur. Je peut par contre te filer le fichiers string.h qui a l'air de poser problème.
 
http://topfindor.freeprohost.com/ftp/string.h

Reply

Marsh Posté le 23-02-2005 à 10:57:41    

peut être que si tu postais un de tes sources rebelles, on pourrait t'aider ? [:itm]


---------------
J'ai un string dans l'array (Paris Hilton)
Reply

Marsh Posté le 23-02-2005 à 11:04:18    

Le problème c'est que j'en ait pas sur là maintenant tout de suite, mais par exemple quand j'essai de compiler un programme plutôt complexe comme le jeu "Wormux 0.5" ou un programme hyper simplicime comme juste ouvrir une fenêtre ; ca ne marche pas dans les deux cas et j'ai le droit à ce magnifique massage d'erreur.  
J'en conclu que sa ne doit pas venir du programmme en lui-même mais plutôt d'autre chose .....

Reply

Marsh Posté le 23-02-2005 à 11:12:15    

Citation :

ca ne marche pas dans les deux cas et j'ai le droit à ce magnifique massage d'erreur.


 
[:zebra33]

Reply

Marsh Posté le 23-02-2005 à 11:16:50    

the_tux a écrit :

Je ne peut pas filer le code source puisque sa le fait pour une majorité de programmes de j'assaie de compiler (et toujours la même erreur. Je peut par contre te filer le fichiers string.h qui a l'air de poser problème.
 
http://topfindor.freeprohost.com/ftp/string.h


 
Faut aps abuser : string.h c'ets quand même  la bibliothèque standard hen [:dawa]
L'erreur viens de ton code ou de tes options de compil :o
 
On leur apprends plsu rien au jeune avant de leur mettr eun compilo entre les mains  :heink:

Reply

Marsh Posté le 23-02-2005 à 11:47:10    

Joel F a écrit :

Faut aps abuser : string.h c'ets quand même  la bibliothèque standard hen [:dawa]
L'erreur viens de ton code ou de tes options de compil :o
 
On leur apprends plsu rien au jeune avant de leur mettr eun compilo entre les mains  :heink:


 
bin :
 
# 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:
 
 
jsais pas [:petrus75]

Reply

Marsh Posté le 23-02-2005 à 13:48:22    

Joel F a écrit :

On leur apprends plsu rien au jeune avant de leur mettr eun compilo entre les mains  :heink:


je suis pas sûr qu'on leur enseigne le C++ au lycée, même si c'est un lycée innovant du futuroscope.


---------------
FAQ fclc++ - FAQ C++ - C++ FAQ Lite
Reply

Marsh Posté le 23-02-2005 à 13:48:58    

Citation :

Faut aps abuser : string.h c'ets quand même  la bibliothèque standard hen [:dawa]
L'erreur viens de ton code ou de tes options de compil :o
 
On leur apprends plsu rien au jeune avant de leur mettr eun compilo entre les mains  :heink:


 
Le problème c'est que j'ai essayer de compiler des programmes qui n'ont même pas consu par moi (par exemple : Wormux 0.5) et ça m'affiche ce message d'erreur. Donc je pense qu'il doit bien y avoir un problème quelque part ??? NOn ??? Et que ça ne vient pas de moi ....

Reply

Marsh Posté le 23-02-2005 à 13:48:58   

Reply

Marsh Posté le 23-02-2005 à 14:00:33    

Ca vient forcément de toi : Linux y'a jamais d'erreur c'est sans bug et super simple, c'est parce que c'est GPL.


---------------
FAQ fclc++ - FAQ C++ - C++ FAQ Lite
Reply

Marsh Posté le 23-02-2005 à 14:02:41    

en plus c'est super pratique linux, les binaires sont super compatible d'un linux a l'autre [:el g]

Reply

Marsh Posté le 23-02-2005 à 14:12:44    

Et surtout grâce à WINE tu peux utiliser les logiciels Windows. Avant j'utilisais mes logiciels préférés sous Windows, c'était naze. Maintenant que je les utilise sous Linux, c'est carément mieux! En plus sous Windows y'a même pas xbill comme jeux, c'est vraiment de la merde.


---------------
FAQ fclc++ - FAQ C++ - C++ FAQ Lite
Reply

Marsh Posté le 23-02-2005 à 14:18:16    

(je te sens aigri helloworld, toi aussi tu dois te battre avec les terrifiants outils de developement gnu ?)

Reply

Marsh Posté le 23-02-2005 à 14:21:34    

La vous répondez pas a ma question. Je sais très bien que Linux c'est super et ya pas de bug mais moi ce que je veut savoir c'est pourquoi j'arrive pas à compiler un programme sans qu'il n'y ait d'erreurs ???

Reply

Marsh Posté le 23-02-2005 à 14:21:39    

Non. J'utilise CVS, mais avec WinCVS donc ça va.
C'est juste que ça fait du bien de débiter des trucs sur Linux du même niveau de tout ce qu'on peut lire sur Windows.


---------------
FAQ fclc++ - FAQ C++ - C++ FAQ Lite
Reply

Marsh Posté le 23-02-2005 à 14:23:01    

T'as essayé de rebooter ?


---------------
FAQ fclc++ - FAQ C++ - C++ FAQ Lite
Reply

Marsh Posté le 23-02-2005 à 14:24:36    

Jpense faut mettre a jour le compilo. Mais la t'es mal parce que pour que le nouveau compilo tourne faut maj la libc. Et la t'es mal, paske tout l'existant marchera pu avec la nouvelle libc, faut tout recompiler. Bref c'est tellement le bordel a faire qu'il vaut mieux maj l'os.  

Reply

Marsh Posté le 23-02-2005 à 14:25:07    

J'ai tout essayer et sa marche pas.
 
Sur le message d'erreur ya marqué qu'il y a un problème avec size_t dans le fichiers string.h
 

Reply

Marsh Posté le 24-02-2005 à 15:16:10    

Tout à fait au hasard, je vois que tu as un " -I/usr/lib/qt3 " dans ta ligne de compilation. Est ce que tu as vérifié que tu utilise bien la même version du compilateur gcc que celle qui a servi à l'installation de Qt. Je sais que quand ce n'est pas le cas, ça peut créer des erreurs (même à la compilation) ?

Reply

Marsh Posté le 24-02-2005 à 15:17:41    

Autrement dit , est ce que ta version de Qt3 à été installée avec gcc3.3.2

Reply

Marsh Posté le 24-02-2005 à 17:09:41    

Je crois que oui. J'ai déjà essayé de désinstallé la version actuelle de gcc par une autre version mais quand j'essaie de désinstallé, j'suis obligé de désinstallé énormément de paquetages avec. Ce qui renviendrai et réinstallé tout Linux. Et j'ai pas trop envie surtout s'il existe une autre solution.

Reply

Marsh Posté le    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed