Skip to content

test_lwgeom_clip_by_rect fails #111

Description

@sepavel

Hello,

I have issue with postgis test test_lwgeom_clip_by_rect on release build with gcc 12.2.0
and I have fixed it with the following code

https://github.com/mapbox/wagyu/blob/master/include/mapbox/geometry/wagyu/intersect_util.hpp#L89

on_intersection_swap(intersect_list<T>& i) : intersects(i) {
         intersects.reserve(2); // new line
 }

Suppose this is happen due to bug in stdlib or compiler.

Can anybody point me to something related?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions