<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I am going to write some code under libparted.<br>
But I found struct initialization which is an obsolete use.<br>
<br>
<b>for example</b>:<br>
boo = {next: 1 , current: 2}<br>
<br>
Actually, I found this use in other places.<br>
<br>
I checked it out and it turns out this use is obsolete in gcc 2.5<br>
And I found my gcc is 5.x. So I think this use may be so old.<br>
Can I use the new? But I am not sure if the keeping use of this<br>
is for compatibility. <br>
<br>
<b>So I just ask should I use comply with</b><b><br>
</b><b>the style of old or can I use the new initialization style?</b><br>
<br>
<br>
<div class="moz-signature">-- <br>
Best regards.
Wang Dong</div>
</body>
</html>