I use Code::Blocks 8.2, MinGW(gcc-g++-3.4.5-20060117-1-vista).
Code:
#include <vector>
#include <string>

using namespace std;

vector<vector<string> > Foo()
{
    vector<vector<string> > vs(15, vector<string>(15, "test"));
    return vs;
}

int main()
{

    vector<vector<string> > vvs = Foo();
    return 0;
}
MinGW warning:

C:\Program Files\CodeBlocks\MINGW\bin\..\lib\gcc\mingw32\3.4. 5\..\..\..\..\include\c++\3.4.5\bits\stl_uninitial ized.h|82|warning: '__cur' might be used uninitialized in this function|

if I use another code

Code:
void Foo(vector<vector<string> > &vvs)
{
    vvs.resize(15, vector<string>(15, "test"));
}

int main()
{
    vector<vector<string> > vvs;
    Foo(vvs);
    return 0;
}
then I get 12 warnings.

What is wrong with this code?