Skip to content

compile error: unknown type name 'namespace' #10844

@ohagendorf

Description

@ohagendorf

Description

Compilation error with µVivion and gcc_arm

The position of the error is different but everytime it is the same problem: a c++ keyword (namespace) is used in a c file.

The problem occures after updating from 5.11.5 to 5.12.4 within Keil. A project working with 5.11.5 cann't be build with 5.12.4.
Tests with gcc_arm show the same problem with 5.12.4 and also with 5.11.5.

I attached a screendump for the gcc test.

gcc_problem

Doing the same with 5.11.5 and ARM compiler is working but with 5.12.4 and ARMC6 it shows the same error at the same position as the gcc_arm shows above.

The used projekt is: https://github.com/ATM-HSW/exampleThingSpeakReadField.git

Tested with Python 2.7.16 and 3.7.3

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions