Skip to content

Replace deprecated -Ofast with -O3 -ffast-math #193

Description

@bosterho

Hi, I've been looking into the warnings while using Pamplejuce. I see this whenever I compile:

clang++: warning: argument '-Ofast' is deprecated; use '-O3 -ffast-math' for the same behavior, or '-O3' to enable only conforming optimizations [-Wdeprecated-ofast]

In SharedCodeDefaults.cmake, if you do -03 -ffast-math instead of -Ofast that gets rid of the warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions