Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - et

Pages: [1]
1
Bugs and Issues / Re: C++ include guards
« on: December 04, 2019, 07:50:10 am »
Thanks, I found the C++ File Template. Can you clarify if this will be tied to the .eap and/or database if updated, or if it's a per user change?

Also, the ISO/IEC 1488 standard specifies double underscore in identifiers as reserved, so I would imagine that if you enable warnings, compliant compilers should be displeased (as mine is). I would propose that the default template should therefore not be set to use double underscore.
Here are a few references:

2
Bugs and Issues / C++ include guards
« on: December 03, 2019, 02:39:13 pm »
I'm new to EA code generation, but was surprised to find that when I generated some C++ code, the include guards on the header files use double underscores, which causes them to generate compiler warnings due to the use of double underscores in identifiers being reserved (this has been a part of the C++ standard since at least 2014). Is there a way to set code generation to not incorporate double underscore in the include guards that I'm not able to find, or how have others been dealing with this?
I'm using EA 13.5.1352.

Pages: [1]