Skip to content

fix(development/include/gxinvoke.h): DLMS_IGNORE_SERVER causes build error (missing bracket })#14

Open
ece-mohammad wants to merge 1 commit intoGurux:masterfrom
ece-mohammad:fix/dlms_ignore_server_build_error
Open

fix(development/include/gxinvoke.h): DLMS_IGNORE_SERVER causes build error (missing bracket })#14
ece-mohammad wants to merge 1 commit intoGurux:masterfrom
ece-mohammad:fix/dlms_ignore_server_build_error

Conversation

@ece-mohammad
Copy link
Copy Markdown

TLDR

In gxinvoke.h the #endif //DLMS_IGNORE_SERVER was placed before the linkage scope closing bracket.

Details

In gxinvoke.h there's an overlap between the DLMS_IGNORE_SERVER and the C linkage definitons. They are opened and closed in different order. Which leaves an un-closed linkage scope, when DLMS_IGNORE_SERVER is defined.

…d error (missing bracket `}`)

TLDR: In `gxinvoke.h` the `#endif //DLMS_IGNORE_SERVER` was placed before the linkage scope closing bracket.
In `gxinvoke.h` there's an overlap between the `DLMS_IGNORE_SERVER` and the `C` linkage definitons. They are opened and closed in different order. Which leaves an un-closed linkage scope, when `DLMS_IGNORE_SERVER` is defined.
Signed-off-by: ece-mohammad <kuro.ece@gmail.com>
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant