Skip to content

Bugs in the generated sample code #6

@tsdh

Description

@tsdh

In the generated Java code, the Order member TransactTm ends in a lower-case "m", but in the constructor you access it as TransactTM ending in a capital "M".

In C# and C++, a class Foo must not have a member that's also called Foo. Thus this C# line and this C++ line (and probably more) will give compile errors.

The C++ code won't compile because of multiple reasons. And defining everything including constructors in a header is a no-no anyway.

So is the goal generating code that actually compiles and works, or is being syntactically similar to Java/C#/C++ enough?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions