Skip to content

unchecked conversion have different sizes on linux - arm64 - libadalang-tools-25.0.0 and gcc-14 #39

@atupone

Description

@atupone

I got the following warnings while building:

tgen-marshalling_lib.adb:741:19: warning: types for unchecked conversion have different sizes [-gnatwz]
tgen-marshalling_lib.adb:741:19: warning: size of "Long_Long_Float" is 64, size of "Unsigned_128" is 128 [-gnatwz]
tgen-marshalling_lib.adb:741:19: warning: target value will include 64 undefined high order bits [-gnatwz]
tgen-marshalling_lib.adb:846:19: warning: types for unchecked conversion have different sizes [-gnatwz]
tgen-marshalling_lib.adb:846:19: warning: size of "Unsigned_128" is 128, size of "Long_Long_Float" is 64 [-gnatwz]
tgen-marshalling_lib.adb:846:19: warning: 64 high order bits of source will be ignored [-gnatwz]

tgen-random.adb:431:04: warning: types for unchecked conversion have different sizes [-gnatwz]
tgen-random.adb:431:04: warning: size of "Long_Long_Float" is 64, size of "Unsigned_128" is 128 [-gnatwz]
tgen-random.adb:431:04: warning: target value will include 64 undefined high order bits [-gnatwz]
tgen-random.adb:434:04: warning: types for unchecked conversion have different sizes [-gnatwz]
tgen-random.adb:434:04: warning: size of "Unsigned_128" is 128, size of "Long_Long_Float" is 64 [-gnatwz]
tgen-random.adb:434:04: warning: 64 high order bits of source will be ignored [-gnatwz]

The build stop after that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions