Skip to content

How to solve C++ Error: ‘namespace system { }’ redeclared as different kind of symbol #440

Answered by mikir
kancve asked this question in Q&A
Discussion options

You must be logged in to vote

Namespace system cannot be the top level one in generated C++ code. To overcome this problem, we recommend to use zserio command line argument -setTopLevelPackage package_name, e.g. -setTopLevelPackage nds.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mikir
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
c++ C++ language generator
2 participants
Converted from issue

This discussion was converted from issue #417 on November 03, 2022 09:22.