Skip to content

Conversation

@lukasberbuer
Copy link
Contributor

@lukasberbuer lukasberbuer commented Feb 25, 2025

Fix compile errors due to missing include of <open62541/types_generated_handling.h>.

Excerpt of compile errors:

/home/lb/dev/open62541-nodeset-loader/src/AliasList.c: In function ‘AliasList_newAlias’:
/home/lb/dev/open62541-nodeset-loader/src/AliasList.c:43:5: error: implicit declaration of function ‘UA_NodeId_init’; did you mean ‘UA_NodeId_print’? [-Werror=implicit-function-declaration]
   43 |     UA_NodeId_init(&list->data[list->size].id);
      |     ^~~~~~~~~~~~~~
      |     UA_NodeId_print

@lukasberbuer lukasberbuer deleted the fix/missing-include branch February 25, 2025 17:17
@lukasberbuer lukasberbuer restored the fix/missing-include branch February 25, 2025 17:17
@lukasberbuer lukasberbuer reopened this Feb 25, 2025
@lukasberbuer lukasberbuer reopened this Feb 25, 2025
@lukasberbuer
Copy link
Contributor Author

Sorry for the mess with opening/closing the PR, I thought I was working in the fork 😅.

@jpfr
Copy link
Member

jpfr commented Mar 11, 2025

The 1.4/master branch has reduced the number of headers that are generated.
Please check and add ifdef where required.

@lukasberbuer
Copy link
Contributor Author

The build error in the integration test is not related to this PR. I fixed in in #278: 00e26bd

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.

2 participants