Lors de ma première compilation avec Code :: Blocks,
J'ai eut une 50ène d'erreures, d'includes pour la plupart, dans iostream !!
Voici les erreures :
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iostream:43: erreur: bits/c++config.h : Aucun fichier ou répertoire de ce type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:45: erreur: bits/c++locale.h : Aucun fichier ou répertoire de ce type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/iosfwd:46: erreur: bits/c++io.h : Aucun fichier ou répertoire de ce type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/atomicity.h:38: erreur: bits/atomic_word.h : Aucun fichier ou répertoire de ce type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/allocator.h:52: erreur: bits/c++allocator.h : Aucun fichier ou répertoire de ce type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:49: erreur: bits/gthr.h : Aucun fichier ou répertoire de ce type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_facets.h:132: erreur: bits/ctype_base.h : Aucun fichier ou répertoire de ce type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_facets.h:1508: erreur: bits/ctype_inline.h : Aucun fichier ou répertoire de ce type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_facets.h:2995: erreur: bits/time_members.h : Aucun fichier ou répertoire de ce type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_facets.h:4550: erreur: bits/messages_members.h : Aucun fichier ou répertoire de ce type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/char_traits.h:139: erreur: 'EOF' was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/char_traits.h:290: erreur: 'EOF' was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/localefwd.h:133: erreur: expected constructor, destructor, or type conversion before 'template'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/localefwd.h:138: erreur: expected constructor, destructor, or type conversion before 'template'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/localefwd.h:161: erreur: expected constructor, destructor, or type conversion before 'template'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/localefwd.h:166: erreur: expected constructor, destructor, or type conversion before 'template'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/atomicity.h:44: erreur: expected constructor, destructor, or type conversion before '__exchange_and_add'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/atomicity.h:48: erreur: expected ',' or '...' before '*' token
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/allocator.h:82: erreur: expected template-name before '<' token
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/allocator.h:82: erreur: expected `{' before '<' token
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/allocator.h:82: erreur: expected unqualified-id before '<' token
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/basic_string.h:150: erreur: '_Atomic_word' does not name a type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/basic_string.h:232: erreur: '__exchange_and_add' is not a member of '__gnu_cxx'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/basic_string.h:306: erreur: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/basic_string.h:306: erreur: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/basic_string.h:314: erreur: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/basic_string.h:726: erreur: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/basic_string.h:745: erreur: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:1906: erreur: 'rand' is not a member of 'std'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/basic_string.tcc:145: erreur: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/basic_string.tcc:533: erreur: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:310: erreur: '_GLIBCXX_NUM_CATEGORIES' was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:349: erreur: '_Atomic_word' does not name a type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:352: erreur: '__c_locale' does not name a type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:383: erreur: '__c_locale' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:384: erreur: '__c_locale' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:386: erreur: '__c_locale' does not name a type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:390: erreur: '__c_locale' has not been declared
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:394: erreur: '__c_locale' does not name a type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:375: erreur: class 'std::locale::facet' does not have any field named '_M_refcount'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:403: erreur: '_M_refcount' was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:408: erreur: '__exchange_and_add' is not a member of '__gnu_cxx'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:408: erreur: '_M_refcount' was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:454: erreur: '_Atomic_word' does not name a type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:493: erreur: '_Atomic_word' does not name a type
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:508: erreur: '_M_refcount' was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:513: erreur: '__exchange_and_add' is not a member of '__gnu_cxx'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/locale_classes.h:513: erreur: '_M_refcount' was not declared in this scope
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/ios_base.h:224: instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/basic_string.h:112: erreur: invalid use of undefined type 'struct std::allocator<char>'
:: More errors follow but not being shown.
:: Edit the max errors limit in compiler options...
:: === Build finished: 50 errors, 0 warnings ===
Et le contenu de /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/ :
[root@localhost ~]# dir -a /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/
. list.tcc stl_multiset.h
.. locale_classes.h stl_numeric.h
allocator.h locale_facets.h stl_pair.h
atomicity.h locale_facets.tcc stl_queue.h
basic_ios.h localefwd.h stl_raw_storage_iter.h
basic_ios.tcc mask_array.h stl_relops.h
basic_string.h ostream.tcc stl_set.h
basic_string.tcc postypes.h stl_stack.h
boost_concept_check.h slice_array.h stl_tempbuf.h
char_traits.h sstream.tcc stl_tree.h
cmath.tcc stl_algobase.h stl_uninitialized.h
codecvt.h stl_algo.h stl_vector.h
concept_check.h stl_bvector.h streambuf_iterator.h
concurrence.h stl_construct.h streambuf.tcc
cpp_type_traits.h stl_deque.h stream_iterator.h
deque.tcc stl_function.h stringfwd.h
fstream.tcc stl_heap.h valarray_after.h
functexcept.h stl_iterator_base_funcs.h valarray_array.h
gslice_array.h stl_iterator_base_types.h valarray_array.tcc
gslice.h stl_iterator.h valarray_before.h
indirect_array.h stl_list.h vector.tcc
ios_base.h stl_map.h
istream.tcc stl_multimap.h
Je voulait savoir, deja si 'est normal ??
Et, si je doit tèlècharger tout les fichiers manquants (si oui ou?) ou installer une sorte de patch ou de ad-on pour les rajouter automatiquement ???