Skip to content

Strip -Wstrict-prototypes from C++ cython extensions #28093

@isuruf

Description

@isuruf

In conda, -Wstrict-prototypes is added to CFLAGS and therefore Cython C extensions are compiled with it. These flags are recorded and when a Cython C++ extension depends on C extension, these flags are used resulting a warning.

(C flags like -std=c99 is already stripped from C++ extensions, which means there is already infrastructure to do this.)

Component: build

Issue created by migration from https://trac.sagemath.org/ticket/28093

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions