TouchGFXConfiguration.cpp breaks if no header declares using namespace touchgfx
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-21 3:11 AM
Our coding guideline discourages the use of using-directives. This is pretty common, I think. I'm removing them from the headers where I can, i.e. from code that does not get regenerated on every code generation in TouchGFX Designer.
I am able to break TouchGFXConfiguration.cpp by removing all using touchgfx declarations from its dependency tree.
I have 2 suggestions:
- Add namespace references to TouchGFXConfiguration.cpp
- Maybe remove using-directives from all the headers. There's now a confusing mix, some headers have them, some don't.
Labels:
- Labels:
-
Bug-report
-
TouchGFX
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
