On 22 Feb 2010, at 17:37, Frederic Bouvier wrote: > This should be : > > int len = strlen(s); > char *buf = new char[len]; > > ... > > delete buf;
Urk.... I'm confused - I thought this was a C99 feature, is it a GNU extension? Regards, James ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel