Skip to content

error: invalid operands to binary expression ('double *' and 'double') #33

@yurivict

Description

@yurivict

Fails on FreeBSD with the clang compiler:

src/flam3util.cpp:59:32: error: invalid operands to binary expression ('double *' and 'double')
                int idx = (int)(xform->color * 255.0);
                                ~~~~~~~~~~~~ ^ ~~~~~
src/flam3util.cpp:60:3: error: unknown type name 'flam3_palette_entry'; did you mean 'flam3_palette'?
                flam3_palette_entry p = g->palette[idx];
                ^~~~~~~~~~~~~~~~~~~
                flam3_palette

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