Uso MinGWStudio 2.05 ho problema in compilazione che non riesco a risolvere
#include <bits/stl_vector.h>
#include <bits/allocator.h>
using namespace std;
vector<int> filedDec;
..
..
come libreria nel setting c'è C:\MinGWStudio\MinGW\lib\libstdc++.a;
questo è l'errore
Linking...
C:\MinGWStudio\Samples\Time\Debug\time.o: In function `ZN9__gnu_cxx13new_allocatorIiE10deallocateEPij':
C:\MINGWSTUDIO\MinGW\bin\..\lib\gcc\mingw32\3.4.2\ ..\..\..\..\include\c++\3.4.2\ext\new_allocator.h: 86: undefined reference to `std::vector<int, std::allocator<int> >::_M_insert_aux(__gnu_cxx::__normal_iterator<int* , std::vector<int, std::allocator<int> > >, int const&)'
collect2: ld returned 1 exit status
il riferimento a riga 86 di new_allocator è:
void deallocate(pointer __p, size_type) { :perator delete(__p); }