GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — No source code generated by exp2cxx for a TYPE referencing another enumeration TYPE · Issue #397 · stepcode/stepcode

No source code generated by exp2cxx for a TYPE referencing another enumeration TYPE #397

New issue
Copy link
New issue
Copy link
Open
Open
No source code generated by exp2cxx for a TYPE referencing another enumeration TYPE#397
Copy link

Description

@msj150629
msj150629
opened on Jun 4, 2020
Issue body actions

Hi,

I encountered a problem while building a schema.
Say there are two TYPEs as follows.

TYPE a = b;
END_TYPE;

TYPE b = ENUMERATION OF
(...);
END_TYPE;

I was expecting to see source codes for both 'a' and 'b' generated by exp2cxx, but source codes for 'b' were only generated.

Can someone help me on this?

Thank you!

Activity

  1. msj150629
    changed the title [-]No source code generated for a TYPE referencing another enumeration TYPE[/-] [+]No source code generated by exp2cxx for a TYPE referencing another enumeration TYPE[/+] on Jun 4, 2020
  2. TRThurman commented on Jun 4, 2020

    @TRThurman
    TRThurman
    on Jun 4, 2020 via email
    Member
    More actions
    What is the real snippet?
    …
    Sent from my iPhone
    On Jun 4, 2020, at 3:31 PM, msj150629 ***@***.***> wrote:  Hi, I encountered a problem while building a schema. Say there are two TYPEs as follows. TYPE a = b; END_TYPE; TYPE b = ENUMERATION OF (...); END_TYPE; I was expecting to see source codes for both 'a' and 'b' generated by exp2cxx, but source codes for 'b' were only generated. Can someone help me on this? Thank you! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
  3. msj150629 commented on Jun 4, 2020

    @msj150629
    msj150629
    on Jun 4, 2020
    Author
    More actions

    Hi Tom,
    This is Soonjo from NIST.

    This is actually a problem that I had when building ap242e2 schema you shared.
    Some TYPEs with the prefix a3ma or a3ms referencing other enum TYPEs show the problem.

    You can simply test a schema below.

    SCHEMA test;

    TYPE abc = ENUMERATION OF
    (aaa,
    bbb,
    ccc);
    END_TYPE;

    TYPE cde = abc;
    END_TYPE;

    END_SCHEMA;

    exp2cxx generates source codes only for 'abc.
    I might need to test with the latest code because I downloaded several months ago.

  4. TRThurman commented on Jun 4, 2020

    @TRThurman
    TRThurman
    on Jun 4, 2020 via email
    Member
    More actions
    Hi Soonjo, Yes I recognize that now. I agree it is from a valid schema. Thanks for sharing. Tom
    On Jun 4, 2020, at 4:26 PM, msj150629 ***@***.***> wrote: Hi Tom, This is Soonjo from NIST. This is actually a problem that I had when building ap242e2 schema you shared. Some TYPEs with the prefix a3ma or a3ms referencing other enum TYPEs show the problem. You can simply test a schema below. SCHEMA test; TYPE abc = ENUMERATION OF (aaa, bbb, ccc); END_TYPE; TYPE cde = abc; END_TYPE; END_SCHEMA; — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#397 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAMMKVFA3PFPLYHPWTJVMBDRVAGPZANCNFSM4NS6WZKQ>.
    Thomas Thurman Principal Electrical Engineer, Rockwell Collins (Retired) Confidentiality Notice: This e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete/destroy any and all copies of the original message. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late, incomplete, or contain viruses. Therefore, the recipient should check this email and any attachments for the presence of viruses. The sender accepts no liability for any damage caused by any virus transmitted by this email.
  5. msj150629 commented on Jun 16, 2020

    @msj150629
    msj150629
    on Jun 16, 2020
    Author
    More actions

    This might be relevant with the function 'int TYPEget_RefTypeVarNm( const Type t, char * buf, Schema schema )' in the source code 'classes_type.c' of 'exp2cxx'.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.