-isystem leads to code wrapped in extern "C"

Bug #1698539 reported by Pedro Kiefer on 2017-06-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU ARM Embedded Toolchain

Bug Description

The toolchain fails to build c++ files correctly when using -isystem, as it treats all headers as being wrapped in `extern "C"`. Other versions of gcc (x86, linaro arm-linux, etc) handles this use case. It seems to be solved on upstreams versions of gcc, but not on this arm-none-eabi version.

I've tested it with 6-2016-q4-major, and 6-2017-q1-update.

related threads:

description: updated
summary: - -isystem leads to code wrapped in extern C
+ -isystem leads to code wrapped in extern "C"
Tejas Belagod (belagod-tejas) wrote :

Hi Pedro,

What is the symptom you're observing?


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers