Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 861468 Details for
Bug 906102
sci-libs/pdal with gcc-13: pdal/Geometry.cpp:143:59: error: invalid conversion from 'const OGRSpatialReference*' to 'OGRSpatialReference*' [-fpermissive]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
allow pdal-2.5.3 build with gcc-13
pdal-2.5.3-gcc13.patch (text/plain), 932 bytes, created by
José de Paula Rodrigues
on 2023-05-11 04:20:07 UTC
(
hide
)
Description:
allow pdal-2.5.3 build with gcc-13
Filename:
MIME Type:
Creator:
José de Paula Rodrigues
Created:
2023-05-11 04:20:07 UTC
Size:
932 bytes
patch
obsolete
>diff -Nru PDAL-2.5.3-src-orig/pdal/Geometry.cpp PDAL-2.5.3-src/pdal/Geometry.cpp >--- PDAL-2.5.3-src-orig/pdal/Geometry.cpp 2023-05-11 01:06:05.333184285 -0300 >+++ PDAL-2.5.3-src/pdal/Geometry.cpp 2023-05-11 01:07:02.588477179 -0300 >@@ -153,7 +153,7 @@ > > bool Geometry::srsValid() const > { >- OGRSpatialReference *srs = m_geom->getSpatialReference(); >+ const OGRSpatialReference *srs = m_geom->getSpatialReference(); > return srs && srs->GetRoot(); > } > >@@ -172,7 +172,7 @@ > return StatusWithReason(-2, > "Geometry::transform() failed. NULL target SRS."); > >- OGRSpatialReference *inSrs = m_geom->getSpatialReference(); >+ const OGRSpatialReference *inSrs = m_geom->getSpatialReference(); > SrsTransform transform(*inSrs, OGRSpatialReference(out.getWKT().data())); > if (m_geom->transform(transform.get()) != OGRERR_NONE) > return StatusWithReason(-1, "Geometry::transform() failed.");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 906102
:
861465
|
861467
|
861468
|
861527
|
861528
|
861529