Skip to content

Portability warnings for wrong case in file paths #221

@Dawoodoz

Description

@Dawoodoz

It would be good for developers who do not have access to more than one operating system, to have a portability debug setting for enforcing case sensitivity on case insensitive file systems and preventing duplicate filnames differing only by case on case sensitive systems.

Simulate case insensitivity
If loading myText.txt and MyText.TXT is found in the same folder, it should warn that the files can only exist side by side on case sensitive file systems, because on case insensitive systems, they have the same name.

Simulate case sensitivity
If requesting MYTEXT.txt when there is only mytext.TXT, the file should fail to be read like on a case sensitive system and give a warning about portability.

The same would have to be done for all folders along the path as well.

The build system should always be case sensitive with warnings to ensure that the project will avoid duplicate linking of source files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UsabilityportabilityRelated to working on a certain operating system

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions