   Implicit convert of returned value
  2.16.1 (not last revision)WinXP, 32bitReproduce:string main() // Error, Can't implicitly convert from 'const string' to 'string'..{const string str;return str;}string main() // Ok{const string str;string str2=str;return str2;}
  Valid code, works fine on MinGW.Probably just your function being named main().nothing to see here, folks, move along[Edited by - nullsquared on May 20, 2009 6:27:06 PM];Quote:Original post by nullsquaredValid code, works fine on MinGW.Probably just your function being named main().This is the Angelscript forum.;  I'll look into this. Thanks.   ;Quote:Original post by rip-offQuote:Original post by nullsquaredValid code, works fine on MinGW.Probably just your function being named main().This is the Angelscript forum.The forum is hidden all the way to the right on active topics, didn't notice it [embarrass]   ;  It also happens to be at the top of the page when you view the thread.   ;Quote:Original post by SiCraneIt also happens to be at the top of the page when you view the thread.At just about the same size font as on active topics, <font size="unnoticeable">   ;  I've checked in the fix for this now. Pick up revision 413 for the changes.Thanks,Andreas   