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

What are going to be the set of compilers that are supported and how old? #23

Closed
schwehr opened this issue Feb 11, 2021 · 6 comments
Closed

Comments

@schwehr
Copy link
Member

schwehr commented Feb 11, 2021

Initially, we need some discussion on this topic.

@neteler
Copy link
Member

neteler commented Feb 11, 2021

@schwehr
Copy link
Member Author

schwehr commented Feb 11, 2021

@neteler Thanks! I need to link to a few of these. e.g.

And more, especially if they are in core libraries written in C.

And should have included this: https://en.wikipedia.org/wiki/List_of_compilers#C_compilers But I not that table doesn't reflect necessarily newer versions of compilers. I see a note about GCC 5.

Not sure if it should have it's own issue, but what standard should be used for shapelib. C89 is (in my oppinion) not a good standard to stick with, so C99, C11, or?

@rouault
Copy link
Member

rouault commented Feb 11, 2021

I'd stick for now with what VC2015 supports (C99), since that's our baseline for GDAL. Anyway shapelib is hopefully mostly feature complete now and not necessarily in need of deep rework :-)

@schwehr
Copy link
Member Author

schwehr commented Feb 16, 2021

It looks like recent autoconf setups set C99 by default.

@thbeu
Copy link
Contributor

thbeu commented Mar 14, 2024

Regarding VS, shapelib requires VS2012 (when configuring with -DBUILD_TESTING=OFF) or VS2017 otherwise.

@rouault
Copy link
Member

rouault commented Mar 14, 2024

I think we can close this now

@rouault rouault closed this as completed Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants