Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.in.pdal: info.cpp also needs PDALCPPFLAGS #1768

Merged
merged 1 commit into from
Aug 2, 2021

Conversation

HuidaeCho
Copy link
Member

Without this PR, I'm getting:

c++  -g -O2 -Wall  -I/home/user/usr/grass/grass/dist.x86_64-pc-linux-gnu/include -I/home/user/usr/grass/grass/dist.x86_64-pc-linux-gnu/include   -I/usr/include -I/usr/include -DPACKAGE=\""grassmods"\"    -I/usr/include -I/usr/include -I/usr/include/libxml2 -I/home/user/usr/grass/grass/dist.x86_64-pc-linux-gnu/include -I/home/user/usr/grass/grass/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"raster/r.in.pdal\" -o OBJ.x86_64-pc-linux-gnu/info.o -c info.cpp
In file included from /usr/include/c++/5.5.0/cstdint:35:0,
                 from /usr/include/pdal/util/Utils.hpp:41,
                 from /usr/include/pdal/pdal_types.hpp:46,
                 from /usr/include/pdal/pdal_internal.hpp:42,
                 from /usr/include/pdal/pdal_config.hpp:39,
                 from info.h:15,
                 from info.cpp:12:
/usr/include/c++/5.5.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^

This PR adds PDALCPPFLAGS (including the suggested -std=c++11) to EXTRA_CFLAGS for compiling info.cpp.

@HuidaeCho HuidaeCho added the raster Related to raster data processing label Aug 1, 2021
@wenzeslaus wenzeslaus added the bug Something isn't working label Aug 1, 2021
@HuidaeCho HuidaeCho merged commit 647a5e6 into OSGeo:master Aug 2, 2021
@HuidaeCho HuidaeCho deleted the r_in_pdal_pdalcppflags branch August 2, 2021 10:49
a0x8o added a commit to a0x8o/grass that referenced this pull request Aug 2, 2021
@neteler neteler added this to the 8.0.0 milestone Dec 9, 2021
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Oct 26, 2022
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Feb 17, 2023
a0x8o added a commit to a0x8o/grass that referenced this pull request May 9, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request May 21, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 3, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 17, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 17, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Jun 27, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 2, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 10, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 23, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 23, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Jul 31, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Aug 13, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Aug 23, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Sep 5, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Sep 5, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Sep 5, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Sep 5, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Oct 16, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Oct 18, 2024
a0x8o added a commit to a0x8o/grass that referenced this pull request Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working raster Related to raster data processing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants