Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Scanner discovery doesn't include build paths

Hi Mohamed,

 

have you tried CDT from master? A lot of things have changed for the better recently. I don't know whether those changes have been backported to 8.2.1.

 

bye Mich;

 

On Wednesday 09 Oct 2013 09:15:13 Azab, Mohamed wrote:

> Hi all,

>

> We are working with CDT 8.2, and we have a CDT toolchain that has some include paths that gets changed depending on the project settings.

> Those paths are added correctly to the build command, and the build operation works fine. But the scanner discovery

> doesn't discover those paths and the editor shows ugly errors. To solve this issue, I had to add an extension point

> to supply extra arguments to the scanner provider, but this solution is not generic, and it has to be modified whenever

> something new appears. The problem is bigger in unmanaged build cases, where the toolchain is not specified, the scanner discovery

> has no rule at all there. I thought that the scanner discovery should replicate the arguments used in build.

>

> My question is; is there an available better and more generic way to solve this? Or are there plans to provide a solution for such cases soon?

>

> Regards,

> Mohamed Azab


Back to the top