gnu compiler question

Sysprogs forums Forums VisualGDB gnu compiler question

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21047
    victorian1990
    Participant

    Hello every body!

    I think this question is addressed not exactly to visualgdb, but to gcc. Sorry if that’s the case.

    In my visualgdb project i use enums and i need it’s size to be 4 bytes. Enum size is 1 byte on the assumption of current gcc settings. What additional gcc options i must to add? The way to add MAX_COUNT field more than 0xFFFF works, but i think it must be some other decision. Gcc version is 7.2.0. I tried to read gcc manual, but i can’t find any information about this there in connection with my bad english.

    Thanks for help!

    #21052
    support
    Keymaster

    Hi,

    Please let us know the email associated with your license key so that we could verify your support status.

    #21057
    victorian1990
    Participant

    Sure i can, but i use 30 day trial ver. , so i dont think it is the cause

    By the way, gcc flags -fshort-enums and -fno-short-enums worked, though compiler gave some warrnings about it.

    #21058
    support
    Keymaster

    Hi,

    According to our records, your 30-day trial has expired. In order to keep receiving technical support, please purchase a license.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.