Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 861529 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.4.3 build with gcc-13
pdal-2.4.3-gcc13.patch (text/plain), 1.33 KB, created by
José de Paula Rodrigues
on 2023-05-11 16:56:07 UTC
(
hide
)
Description:
allow pdal-2.4.3 build with gcc-13
Filename:
MIME Type:
Creator:
José de Paula Rodrigues
Created:
2023-05-11 16:56:07 UTC
Size:
1.33 KB
patch
obsolete
>diff -Nru PDAL-2.4.3-src-orig/pdal/Geometry.cpp PDAL-2.4.3-src/pdal/Geometry.cpp >--- PDAL-2.4.3-src-orig/pdal/Geometry.cpp 2023-05-10 23:13:39.643502276 -0300 >+++ PDAL-2.4.3-src/pdal/Geometry.cpp 2023-05-10 23:11:33.142620506 -0300 >@@ -140,7 +140,7 @@ > > bool Geometry::srsValid() const > { >- OGRSpatialReference *srs = m_geom->getSpatialReference(); >+ OGRSpatialReference *srs = const_cast<OGRSpatialReference *>(m_geom->getSpatialReference()); > return srs && srs->GetRoot(); > } > >@@ -159,7 +159,7 @@ > return StatusWithReason(-2, > "Geometry::transform() failed. NULL target SRS."); > >- OGRSpatialReference *inSrs = m_geom->getSpatialReference(); >+ OGRSpatialReference *inSrs = const_cast<OGRSpatialReference *>(m_geom->getSpatialReference()); > SrsTransform transform(*inSrs, OGRSpatialReference(out.getWKT().data())); > if (m_geom->transform(transform.get()) != OGRERR_NONE) > return StatusWithReason(-1, "Geometry::transform() failed."); >diff -Nru PDAL-2.4.3-src-orig/vendor/lazperf/Extractor.hpp PDAL-2.4.3-src/vendor/lazperf/Extractor.hpp >--- PDAL-2.4.3-src-orig/vendor/lazperf/Extractor.hpp 2023-05-10 23:13:39.613501276 -0300 >+++ PDAL-2.4.3-src/vendor/lazperf/Extractor.hpp 2023-05-10 23:15:41.644241402 -0300 >@@ -34,6 +34,7 @@ > > #pragma once > >+#include <cstdint> > #include <cstring> > #include <vector> >
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