Separate -I and -isystem include directories?

Sysprogs forums Forums VisualGDB Separate -I and -isystem include directories?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12586
    bojanpotocnik
    Participant

    Hello,

    I am wondering if is somehow possible to specify some of the include directories to be passed with -isystem parameter rather than -I parameter.

    The problem is compiling with -pedantic and having all include directories (mine + Nordic nRF5 SDK) in the same field, that is VisualGDB Project Properties > Embedded Project > Include directories, consequently passed to the gcc with -I. That triggers a lot of (~2000) warnings from Nordic SDK, which I want to ignore by passing those include directories with -isystem.

    Thank you

    #12592
    support
    Keymaster

    Hi,

    We have just added support for this to the final VisualGDB 5.3 (MSBuild projects only). Simply use the VS project properties (not VisualGDB Project Properties) to add the system include directories to your project.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.