On Fri, Dec 04, 2009 at 09:53:19AM +0100, ext Robert de Vries wrote:
> I found the problem in gccparser.cpp.
>
oh, cool.

> +++ b/src/plugins/projectexplorer/gccparser.cpp
> -    m_makeDir.setPattern("^make.*: (\\w+) directory .(.+).$");
> +    m_makeDir.setPattern("^(mingw32-)?make.*: (\\w+) directory .(.+).$");
>  
you should use the non-capturing syntax (?:mingw32-)? - this saves some
cycles and you don't have to adjust the cap() indices below. that would
also enable an #ifdef on the string to spare real unixes from the
never-matching regexp part. :)
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to