Porting c++ code from unix to windows
<p>Hi i have to port some stuff written on c++ from unix bases os to windows visual studio 2008.
The following code implements array data type with void ** - pointer to the data.</p>

<pre><code>
struct array
{
    int id;
    void **array; // store the actual data of the array
    // more members
}
</code></pre>

<p>When i compile with g++ on Unix it's ok but when i try with MSVS 2008 I get the error -  error C2461: 'array' : constructor syntax missing formal parameters. When i change the member from 'array' to something else it works, so it seems that the compiler thinks that the member name 'array' is actually the constructor of the struct array. It's obviously not a good practice to name the member like the struct but it's already written that way. Can i tell the MSVS compiler to ignore this problem or i should rename all members that are the same as the struct name.</p>
