質問です。
下記のコードなのですがWinXPのCygwin上のgcc3.44ではコンパイルして
実行できたのですが、VC6.0では

「error C2440: 'initializing' : 'struct teststruct' から 'int' に変換することはできません。
(新しい動作 ; ヘルプを参照)
この変換を実行可能なユーザー定義変換演算子がないか、または演算子を呼び出せません。」

というエラーが出てしまいます。VC6.0では配列の初期値として構造体を
返す関数を指定する事はできないのでしょうか?

#include <stdio.h>

struct teststruct{
int mem1;
double mem2;
};

teststruct get_ts(int in_mem1,double in_mem2){
teststruct ts;
ts.mem1 = in_mem1;
ts.mem2 = in_mem2;
return ts;
}

teststruct array[] = {get_ts(1,1.1),get_ts(1,2.4)};

int main(){
printf("%d %f : %d %f\n",array[0].mem1,array[0].mem2,array[1].mem1,array[1].mem2);
return 0;
}