<div dir="ltr"><div><div>HI Alan,<br><br></div>That's tough justice indeed! I'll file a bug report and we'll look into it. Thanks for reporting this.<br><br></div>Rick<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 17, 2016 at 11:57 AM, Alan Brammer <span dir="ltr"><<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div><br></div><div>So this was a mistake on my part, but it resulted in a seg fault rather than the usual type mismatch warning.</div><div><br></div><div><br></div><div>;; me being an idiot, but seg faults are a tough justice</div><div><br></div><div>my_list = NewList("lifo")</div><div>my_list = new(10, float)</div><div>Segmentation fault (core dumped)</div><div><br></div><div><br></div><div>;;;typical and more preferable behaviour</div><div><br></div><div>my_list = new(10, integer)</div><div>my_list = new(10, float)</div><div><div>fatal:["NclVar.c":1390]:Assignment type mismatch, right hand side can't be coerced to type of left hand side</div><div>fatal:["Execute.c":8573]:Execute: Error occurred at or near line 1</div></div><div><div><br></div></div><div><div><br></div><div>my_list = new(10, float)</div><div>my_list = NewList("lifo")</div><div><div>fatal:["NclVar.c":1390]:Assignment type mismatch, right hand side can't be coerced to type of left hand side</div><div>fatal:["Execute.c":8573]:Execute: Error occurred at or near line 1</div></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Thanks, </div><div><br></div><div>Alan.</div><br><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="word-wrap:break-word">##############################<br>Alan Brammer,<div>Post-Doc Researcher</div><div><br></div><div>Department of Atmospheric and Environmental Sciences,<br>University at Albany, State University of New York, Albany, NY, 12222<div><a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a><br>##############################</div></div></div></span></div></div>
</div>
<br></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>