Skip to content

Add a #warning compile time proc that will be used for things that may or may not cause problems #7094

Description

@A-Boring-Square

I need a way to warn users of my library when they enable a compile-time configuration flag that may not be supported on all systems.

I would like a compile-time procedure similar to #assert, but instead of stopping compilation, it would emit a warning or notification and allow compilation to continue.

This would be useful for APIs with optional behavior, such as OpenGL, where users can choose between core and compatibility profiles. Some features may not be available in one mode, but that should not prevent the application from compiling if the user intentionally chose that configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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