Skip to content

Undefined behaviour under Release build #317

@andre237

Description

@andre237

I can't use the socket server when building my application in Release mode. The server is up but it can't get any connection nor messages. I compiled my program with gcc-8.4.0 for x86_64 and with gcc-8.3.0 for arm_32 and both compilations resulted in the same error.
Hence in Release mode, I can't debug the code and using printf in each lib function didn't result in any significant help either. I guess the compiler is optimizing/removing some part of the code that it definitely shouldn't.

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