Philippe Sigaud: > I couldn't find a bugzilla entry for this and I cannot believe no one ever > tried to put an auto fun inside main! Maybe auto funcs are seen as instantiated templates, and templates can't be defined inside functions. Anyway, I think you can file this as enhancement request. Bye, bearophile